/* Matrix Form Styles */
.matrix-form {
    width: 100%;
    margin-top: 0.5rem;
}

.form-group {
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 16px;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.gender-buttons {
    display: flex;
    gap: 10px;
    flex-direction: row;
}

.gender-button {
    flex: 1;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    justify-content: center;
}

.gender-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.gender-button.active {
    background: linear-gradient(135deg, #7A61B4 0%, #3F209E 100%);
    border-color: transparent;
    transform: scale(1);
    transition: transform 0.2s ease;
}

/* Special hover effect for active gender buttons */
.gender-button.active:hover {
    background: linear-gradient(135deg, #7A61B4 0%, #3F209E 100%);
    transform: scale(1.05);
}

/* .form-section {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
} */

.form-section:last-child {
    border-bottom: none;
}

.form-section-title {
    color: white;
    font-size: 18px;
    margin-bottom: 1rem;
}

.back-button-container {
    /* margin-bottom: 1rem; */
    margin: 0;
    padding: 0;
}

    

.back-button {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    color: #4C497A;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
}

.back-button svg {
    margin-right: 5px;
}

/* Logout button styling */
.logout-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.logout-button:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.logout-button svg {
    width: 18px;
    height: 18px;
}

.matrix-footer {
    display: flex;
    align-items: center;
    margin-top: 25px; /* As requested, 300px spacing */
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;

}

.matrix-footer svg {
    margin-right: 10px;
    flex-shrink: 0;
    text-align: left;
    max-width: 342px;
}

/* Button states */
.cta-button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.cta-button:not([disabled]) {
    opacity: 1;
    cursor: pointer;
}

/* Form validation styling */
input:invalid {
    border-color: rgba(255, 100, 100, 0.3);
}

input:valid {
    border-color: rgba(185, 100, 255, 0.2);
}
/* ///////// */
