.copy-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 0.25rem 0.5rem;
    font-size: 0.65rem;
    line-height: 1;
}

.dev-stash-brand {
    align-items: center;
    display: inline-flex;
    gap: 0.5rem;
}

.dev-stash-logo {
    flex: 0 0 auto;
    height: 30px;
    width: 30px;
}

.card {
    position: relative;
}

.post-card-body {
    margin-right: 5px;
}

.date-block {
    position: absolute;
    top: 10px; /* Aligns vertically with the content */
    left: -70px; /* Positions the date block outside the card's border */
    width: 60px;
    text-align: right;
    padding: 5px;
    border-radius: 5px;
}

.date-block .date {
    font-size: 14px;
    font-weight: bold;
}

.date-block .day {
    font-size: 20px;
}

.date-block .month {
    font-size: 16px;
    text-transform: uppercase;
}

.expand-btn {
    display: block;
    width: 100%;
    height: 10px;
    padding: 10px;
    border: none;
    position: relative;
    cursor: pointer;
    margin-top: 15px; /* Adds space above the line */
    transition: background-color 0.3s ease;
}

.expand-btn i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    color: #495057;
}

.expand-btn:hover {
    background-color: #ced4da;
}

.expand-btn[data-expanded="true"] i {
    transform: translate(-50%, -50%) rotate(180deg);
}

.card-body h1 {
    font-size: 22px;
    margin-bottom: 15px;
}

.card-body img {
    width: 100%;
}

.dev-stash-title {
    text-decoration: none; /* Removes the underline */
    color: inherit; /* Keeps the text color the same as surrounding text */
}

.edit-menu{
    position:absolute;
    z-index: 999;
}

.edit-menu a {
    display: none;
}

.card:hover .edit-menu a {
    display: block;
}
.login-container {
    min-height: calc(100vh - 140px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
}

.login-card {
    width: 100%;
    max-width: 420px;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.post-editor {
    height: 700px;
    width: 100%;
}

body[data-bs-theme='dark'] {
    background-color: #121212;
    color: #e0e0e0;
}
