
/* -------- calendar ------ */
.calendartop,
.calendar {
    width: 100%;
    text-align: center;
}

.calendartop {
    line-height: 1.6;
}

.calendar {
    line-height: 2;
}

.calendartop tbody tr:first-child td a {
    padding: .25em .65em;
}

.calendar tbody tr:first-child td {
    background-color: var(--color-text-1-light);
}

.calendar tbody tr:first-child td:first-child {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.calendar tbody tr:first-child td:last-child {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.calendar .day,
.calendar td a {
    position: relative;
    color: var(--color-theme-light);
}

.calendar td a {
    text-decoration: underline;
}

.calendar .day::after,
.calendar td a:hover::after {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    position: absolute;
    left: calc(50% - 12px);
    top: calc(50% - 12px);
    border: 1px solid var(--color-theme-light);
    border-radius: 100%;
}

/* Captcha styles */
.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.captcha-wrapper img {
    height: 46px;
    width: auto;
    border-radius: 0.75rem;
    cursor: pointer;
    border: 1px solid #e2e8f0;
}

.dark .captcha-wrapper img {
    border-color: #334155;
    opacity: 0.9;
}

.captcha-wrapper input[name="imgcode"] {
    width: 160px;
    padding: 0.75rem 1rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #1e293b;
    outline: none;
    transition: all 0.2s;
}

.captcha-wrapper input[name="imgcode"]:focus {
    background-color: #ffffff;
    border-color: transparent;
    box-shadow: 0 0 0 2px #4f46e5; /* indigo-600 to match user center buttons */
}

.dark .captcha-wrapper input[name="imgcode"] {
    background-color: rgba(51, 65, 85, 0.5);
    border-color: #334155;
    color: #f1f5f9;
}

.dark .captcha-wrapper input[name="imgcode"]:focus {
    background-color: #1e293b;
}

.captcha-wrapper input[name="imgcode"]::placeholder {
    color: #94a3b8;
}