/* Import Inter font for modern typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ========================================
   MAIN CONTAINER STYLES
======================================== */
.registration-tabs-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.registration-tabs {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.registration-tabs .page-content {
    padding: 0;
}

/* ========================================
   PAGE HEADER STYLES
======================================== */
.registration-tabs .page-header {
    text-align: center;
    margin: 0;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
}

.registration-tabs .page-header h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ========================================
   TAB NAVIGATION STYLES
======================================== */
.registration-tabs .tabs-container {
    background: #f8f9fa;
    padding: 25px 0 0;
    border-bottom: 2px solid #e9ecef;
}

.registration-tabs #userTabs {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    border-bottom: none;
    position: relative;
    list-style: none;
}

.registration-tabs #userTabs::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
}

.registration-tabs #userTabs .nav-item {
    margin: 0 5px;
    position: relative;
}

.registration-tabs #userTabs .nav-link {
    border: none;
    border-radius: 14px 14px 0 0;
    padding: 18px 35px;
    font-size: 17px;
    font-weight: 700;
    color: #6c757d;
    background-color: #e9ecef;
    margin: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
    cursor: pointer;
}

.registration-tabs #userTabs .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.registration-tabs #userTabs .nav-link:hover {
    color: #3498db;
    background-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.registration-tabs #userTabs .nav-link:hover::before {
    opacity: 0.1;
}

.registration-tabs #userTabs .nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    transform: translateY(-5px);
    border-bottom: 3px solid #fff;
}

.registration-tabs #userTabs .nav-link.active::before {
    opacity: 1;
}

.registration-tabs #userTabs .nav-link i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.registration-tabs #userTabs .nav-link:hover i {
    transform: scale(1.2);
}

/* ========================================
   TAB CONTENT STYLES
======================================== */
.registration-tabs .tab-content {
    padding: 40px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf9 100%);
}

.registration-tabs .tab-pane {
    max-width: 550px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   FORM CONTAINER STYLES
======================================== */
.registration-tabs .registration, .registration-tabs .login {
    max-width: 100%;
    padding: 0;
    background: transparent;
    box-shadow: none;
    margin: 0;
}

.registration-tabs #member-registration, .registration-tabs .login form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    font-family: 'Inter', sans-serif;
    border: 1px solid rgba(0,0,0,0.1);
}

.registration-tabs .login .page-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
    text-align: center;
    background: transparent;
    color: #2c3e50;
    padding: 0 0 20px 0;
}

.registration-tabs .login .page-header h1 {
    color: #2c3e50;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0;
}

/* ========================================
   FIELDSET & LEGEND STYLES
======================================== */
.registration-tabs .registration fieldset {
    border: none;
    padding: 0;
    margin-bottom: 30px;
}

.registration-tabs .fs-label {
    display: block;
    width: 100%;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #667eea;
    color: #2c3e50;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   MODERN INPUT FIELD STYLES
======================================== */
.registration-tabs .modern-input {
    position: relative;
    margin-bottom: 20px;
}

.registration-tabs .modern-input i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 20px;
}

.registration-tabs .modern-input label, .registration-tabs .modern-input .floating-label {
    position: absolute;
    top: 50%;
    left: 48px;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 15px;
    pointer-events: none;
    transition: all 0.3s ease;
    background: #fff;
    padding: 0 4px;
}

.registration-tabs .modern-input input:focus + .floating-label,
.registration-tabs .modern-input input:not(:placeholder-shown) + .floating-label,
.registration-tabs .modern-input.has-value .floating-label {
    top: 0;
    left: 44px;
    font-size: 12px;
    color: #ff9800;
    transform: translateY(-50%);
    background: #fff;
    padding: 0 6px;
}

.registration-tabs .modern-input input,
.registration-tabs .modern-input select,
.registration-tabs .modern-input textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 21px 16px 21px 48px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    color: #2c3e50;
}

.registration-tabs .modern-input input:focus,
.registration-tabs .modern-input select:focus,
.registration-tabs .modern-input textarea:focus {
    border: 2px solid #ff9800;
    box-shadow: 0 4px 12px rgba(255,152,0,0.15);
    outline: none;
}

.registration-tabs .required-star {
    display: none;
}

.registration-tabs .optional {
    display: none;
}

/* Captcha Styles */
.registration-tabs .captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.registration-tabs .captcha-wrapper .modern-input {
    flex-grow: 1;
    margin-bottom: 0;
}

.registration-tabs .captcha-wrapper .modern-input i {
    display: none;
}

.registration-tabs .captcha-wrapper .captcha-image {
    flex-shrink: 0;
}

.registration-tabs #jform_captcha-lbl {
    display: none;
}


/* ========================================
   BUTTON STYLES
======================================== */
.registration-tabs .btn.ot-btn, .registration-tabs .vmu-login-btn {
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    margin: 10px 0 !important;
    min-height: 54px;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.registration-tabs .btn.ot-btn:hover, .registration-tabs .vmu-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.registration-tabs .form-links {
    text-align: center;
    margin-top: 20px;
}

.registration-tabs .forgot-links a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.registration-tabs .forgot-links a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.registration-tabs .create-account-link a {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.registration-tabs .create-account-link a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.5);
}