/* assets/form_style.css */

/* Page Background & Form Centering */
.registration-container {
    background-color: #000;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/* Main Professional Card */
.reg-card {
    background: #111;
    border: 1px solid #333;
    border-radius: 20px;
    width: 100%;
    max-width: 850px;
    padding: 40px;
    margin: 20px auto;
    box-shadow: 0 15px 35px rgba(0,0,0,0.7);
}

/* Fieldset & Legend Styling */
.reg-fieldset {
    border: 1px solid #222 !important;
    border-radius: 15px !important;
    padding: 25px !important;
    margin-bottom: 30px !important;
    background: #161616;
}

.reg-legend {
    float: none;
    width: auto;
    padding: 0 15px;
    font-size: 0.85rem;
    color: #dc3545;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Field Group Alignment (Horizontal Layout) */
.field-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.field-wrapper label {
    width: 180px; 
    margin-bottom: 0;
    color: #ccc;
    font-size: 0.95rem;
    flex-shrink: 0;
    font-weight: 500;
}

.input-container {
    flex-grow: 1;
}

/* Professional Rounded Inputs & Selects */
.reg-input {
    margin-bottom:20px!important;
    background-color: #1a1a1a !important;
    border: 1px solid #333 !important;
    color: #fff !important;
    border-radius: 12px !important; /* Corner Rounding */
    padding: 12px 15px !important;
    width: 100% !important;
    display: block;
    transition: all 0.3s ease;
}

.reg-label{
    margin-left: 8px!important ;
     margin-bottom:8px!important;
     display: block;
}

.reg-input:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2) !important;
    outline: none;
}

/* Profile Picture Styling */
.profile-img-wrap {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 3px solid #dc3545;
    margin: 0 auto 20px;
    overflow: hidden;
}

.profile-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Submit Button */
.btn-submit-profile {
    background: #dc3545;
    border: none;
    padding: 15px 40px;
    border-radius: 12px;
    font-weight: bold;
    color: white;
    width: 100%;
    transition: 0.3s ease;
    cursor: pointer;
}

.btn-submit-profile:hover {
    background: #b02a37;
    transform: translateY(-2px);
}

/* Mobile Responsive Fix */
@media (max-width: 768px) {
    .field-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .field-wrapper label {
        width: 100%;
        margin-bottom: 8px;
    }
}