:root {
    --gold: #b8860b;
    --gold-light: #daa520;
    --gold-dark: #8b6914;
    --gold-bright: #ffd700;
    --black: #000000;
    --white: #ffffff;
    --gray-light: #f8f8f8;
    --background: #121212;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Urbanist", sans-serif;
    background-color: var(--background);
    color: var(--white);
    min-height: 100vh;
    font-size: 16px;
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 2rem 1rem;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 0 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.logo {
    height: auto;
    object-fit: contain;
}

.mss-logo {
    max-width: 200px;
}

.mubasher-logo {
    max-width: 300px;
}

.title {
    font-family: 'Bebas Neue', sans-serif;
    color: #F5F5F1;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.signup-form {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--gold);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--gold);
    border-radius: 4px;
    color: var(--white);
    font-family: 'Urbanist', sans-serif;
    font-size: 1rem;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Custom Radio Buttons Styling */
.contact-method-container {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    justify-content: stretch;
    width: 100%;
}

.radio-label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border: 2px solid var(--gold);
    border-radius: 8px;
    cursor: pointer;
    flex: 1;
    transition: all 0.3s ease;
    background: rgba(184, 134, 11, 0.1);
    min-width: 140px;
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.radio-label:hover {
    background: rgba(184, 134, 11, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.radio-label:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-label span {
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.radio-label input[type="radio"]:checked ~ .radio-background {
    background: linear-gradient(145deg, var(--gold), var(--gold-dark));
    box-shadow: 0 4px 8px rgba(184, 134, 11, 0.3);
}

/* Selected state */
.radio-label input[type="radio"]:checked + span {
    color: var(--background);
}

.radio-label input[type="radio"]:checked ~ .radio-background {
    opacity: 1;
}

/* Active radio button styling */
.radio-label input[type="radio"]:checked ~ .radio-background {
    background: var(--gold);
}

.radio-label .radio-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    border-radius: 6px;
    z-index: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

/* Focus state for accessibility */
.radio-label input[type="radio"]:focus-visible ~ .radio-background {
    box-shadow: 0 0 0 3px var(--gold-light);
}

.contact-number-display {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1rem;
    border-radius: 4px;
    margin: 0.5rem 0;
    color: var(--white);
    font-family: 'Urbanist', sans-serif;
}

.phone-input-container {
    display: flex;
    gap: 10px;
}

.phone-input-container select {
    width: 140px;
}

.phone-input-container input {
    flex: 1;
}

select {
    padding: 8px;
    border: 1px solid var(--gold);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: 'Urbanist', sans-serif;
}

select option {
    background-color: var(--background);
    color: var(--white);
    padding: 8px;
}

.submit-btn {
    background-color: var(--gold);
    color: var(--background);
    border: none;
    padding: 1rem;
    width: 100%;
    border-radius: 4px;
    font-family: 'Urbanist', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    opacity: 0.9;
}

.hidden {
    display: none !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .logo-container {
        padding: 0 1rem;
    }
    
    .mss-logo {
        max-width: 150px;
    }
    
    .mubasher-logo {
        max-width: 200px;
    }

  
}

@media (min-width: 768px) {
    .container {
        padding: 4rem 2rem;
    }

    .signup-form {
        padding: 3rem;
    }
}

/* Form validation styles */
.form-group input:invalid,
.form-group select:invalid {
    border-color: #ff4444;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold-light);
    box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.2);
}

/* Specific styling for the contact number display */
#displayNumber {
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Additional accessibility styles */
@media (prefers-reduced-motion: reduce) {
    .radio-label,
    .radio-background,
    .submit-btn {
        transition: none;
    }
}

/* Focus styles for all interactive elements */
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 2px;
}