/* Auth Container */
.auth-container {
    max-width: 500px;
    margin: 40px auto;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

/* Tabs Header */
.auth-tabs {
    display: flex;
    border-bottom: 2px solid #f0f0f0;
    background: #fafafa;
}

.auth-tab-btn {
    flex: 1;
    padding: 14px 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #86868b;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-tab-btn:hover {
    color: #1d1d1f;
    background: #f5f5f7;
}

.auth-tab-btn.active {
    color: #0cafcc;
}

.auth-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #0cafcc;
}

/* Tab Content */
.auth-content {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    pointer-events: none;
}

.auth-content.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    pointer-events: auto;
}

.auth-block {
    padding: 28px 24px;
}

.auth-block h2 {
    margin: 0 0 20px;
    font-size: 24px;
    font-weight: 700;
    color: #1d1d1f;
}

.auth-block p {
    margin-bottom: 16px;
    font-size: 15px;
    color: #1d1d1f;
}

.auth-block label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #1d1d1f;
    font-size: 14px;
}

.auth-block input[type="text"],
.auth-block input[type="email"],
.auth-block input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d2d2d7;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    margin-top: 4px;
    font-family: inherit;
}

.auth-block input[type="text"]:focus,
.auth-block input[type="email"]:focus,
.auth-block input[type="password"]:focus {
    outline: none;
    border-color: #0cafcc;
    box-shadow: 0 0 0 3px rgba(12, 175, 204, 0.15);
}

/* Role Selection */
.role-selection {
    margin-bottom: 20px;
}

.role-label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: #1d1d1f;
    font-size: 14px;
}

.role-options {
    display: flex;
    gap: 12px;
}

.role-radio {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px 12px;
    border: 1px solid #d2d2d7;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 14px;
}

.role-radio input[type="radio"] {
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: #0cafcc;
}

.role-radio input[type="radio"]:checked {
    accent-color: #0cafcc;
}

.role-radio:has(input[type="radio"]:checked) {
    border-color: #0cafcc;
    background: rgba(12, 175, 204, 0.08);
}

.role-radio span {
    color: #1d1d1f;
    font-weight: 500;
}

/* Submit Button */
.btn-submit,
.auth-block input[type="submit"] {
    width: 100%;
    padding: 10px 14px;
    background: linear-gradient(135deg, #0cafcc 0%, #008fb1 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.2s ease;
    margin-top: 8px;
}

.btn-submit:hover,
.auth-block input[type="submit"]:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.btn-submit:active,
.auth-block input[type="submit"]:active {
    transform: translateY(1px);
}

/* Links */
.auth-footer {
    text-align: center;
    margin-top: 16px !important;
    font-size: 14px !important;
}

.auth-block a {
    color: #0cafcc;
    font-weight: 600;
    text-decoration: none;
}

.auth-block a:hover {
    text-decoration: underline;
}

/* Notice */
.notice {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 14px;
    margin-bottom: 16px;
}

/* WordPress Login Form Overrides */
.user-pass-wrap,
.forgetmenot {
    margin-bottom: 16px;
}

.user-login-wrap label,
.user-pass-wrap label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1d1d1f;
    font-size: 14px;
}

.user-login-wrap input,
.user-pass-wrap input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d2d2d7;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    margin-top: 4px;
}

.user-login-wrap input:focus,
.user-pass-wrap input[type="password"]:focus {
    outline: none;
    border-color: #0cafcc;
    box-shadow: 0 0 0 3px rgba(12, 175, 204, 0.15);
}

.forgetmenot label {
    display: inline;
    font-weight: 500;
    margin-left: 6px;
}

.login-submit input[type="submit"] {
    width: 100%;
}

/* Responsive */
@media (max-width:768px) {
    .auth-container {
        margin: 20px;
    }
}