/* Registration Page Styles */
html, body {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}
body {
    min-height: 100vh;
    font-family: Arial, sans-serif;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: linear-gradient(135deg, #e0e0e0 0%, #bdbdbd 100%);
    background-repeat: no-repeat;
    position: relative;
}
body::before {
    content: '';
    position: absolute;
    top: -120px; left: -120px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, #bdbdbd55 60%, transparent 100%);
    z-index: 0;
}
body::after {
    content: '';
    position: absolute;
    bottom: -120px; right: -120px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, #e0e0e0cc 60%, transparent 100%);
    z-index: 0;
}
.register-container {
    max-width: 540px;
    width: 100%;
    margin: 60px auto;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    padding: 44px 38px 28px 38px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}
.register-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
    padding-bottom: 10px;
}
.back-link {
    position: absolute;
    left: 24px;
    top: 18px;
    font-size: 1.05rem;
    color: #888;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.back-link:hover {
    color: var(--accent-primary);
}
.register-container h2 {
    text-align: center;
    margin-bottom: 24px;
    color: #222;
    font-weight: 700;
}
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 7px; color: #444; }
.form-group input, .form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 7px;
    font-size: 1rem;
    background: #f9f9f9;
    transition: border 0.2s;
    box-sizing: border-box;
}
.form-group input:focus, .form-group select:focus { border-color: var(--accent-primary); outline: none; }
.register-btn {
    width: auto;
    min-width: 200px;
    display: block;
    margin: 18px auto 0 auto;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-primary-light));
    color: #222;
    border: none;
    border-radius: 7px;
    padding: 12px 0;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(255,215,0,0.08);
}
.register-btn:disabled {
    background: #ccc;
    color: #888;
    cursor: not-allowed;
}
.register-btn:hover:not(:disabled) { background: linear-gradient(90deg, var(--accent-primary-light), var(--accent-primary)); }
.register-footer {
    text-align: center;
    margin-top: 18px;
    font-size: 0.98rem;
}
.register-footer a {
    color: var(--accent-primary);
    text-decoration: underline;
    font-weight: 600;
}
.password-toggle {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    cursor: pointer !important;
    color: #888 !important;
    font-size: 1.1em !important;
    z-index: 999 !important;
    pointer-events: auto !important;
    line-height: 1 !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.form-group.password-group {
    position: relative;
}
.form-group.password-group input {
    padding-right: 45px;
    position: relative;
}
/* Phone input specific styles */
.phone-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    display: none;
}
#signupMobile {
    padding-left: 90px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
}
.iti {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
}
.iti__flag-container {
    z-index: 10;
}
.iti__selected-flag {
    background-color: #f9f9f9;
    border-radius: 7px 0 0 7px;
}
.iti__country-list {
    border-radius: 7px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 1px solid #ddd;
    background-color: white;
    max-height: 200px;
}
@media (max-width: 600px) {
    .register-container {
        padding: 24px 8px 18px 8px;
        margin: 24px auto;
    }
    .register-logo img {
        height: 44px !important;
    }
}
