@import '../components/navbar.css';
@import '../components/footer.css';
@import'../components/backtop.css';


.registration-form {
    position: relative;
   margin: 80px auto;
   margin-top: 7rem;
    width: 80%;

}
.registration-form h1 {
    font-size: clamp(36px, 6vw, 65px);

    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #01c2be;
    text-align: center;
    margin-bottom: 2rem;
    /* position: relative;
    top: -5rem;
    margin-top: 15rem;
    width: 80%; */

}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 20px;
    background: rgba(14, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

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

.form-group input:focus,
.form-group select:focus {
    border-color: #01c2be;
    box-shadow: 0 0 10px rgba(1, 194, 190, 0.3);
}

.form-group select {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
}

.form-group select option {
    background: #0e172a;
    color: white;
}

.form-group select {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);

}

.form-group select option {
    background: #0e172a;
    color: white;
}

.form-group select {
    cursor: pointer;
    color: white;
    font-size: 1.1rem;
}

.form-group select option {
    background: #0e172a;
    color: white;
    font-size: 1rem;
    padding: 10px;
}


.form-group select:valid {
    color: white;
}


/* Phone Input */
.phone-input {
    display: flex;
    align-items: center;
    background: rgba(14, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

.country-code {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: #fff;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.flag-icon {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
}

.country-code span {
    color: #0e172a;
    font-size: 1rem;
    font-weight: 900;
}

.phone-input input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 15px;
    margin: 0;
}


/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 2px;
    background: #01c2be !important;
    color: #0e172a !important;
    border: none !important;
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(1, 194, 190, 0.4);
}


.form-textarea textarea {
    width: 100%;
    padding: 20px 20px;
    background: rgba(14, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease
}

.error-msg {
    font-size: 12px;
    color: #ef4444;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}