/* Container holding the form centrally on the page */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background-color: #f8f9fa; 
    padding: 20px;
}
.auth-container-completed {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 10vh;
    background-color: #f8f9fa; 
    padding: 10px;
}

/* The white card housing the inputs */
.auth-card {
    background-color: #ffffff;
    width: 100%;
    max-width: 950px; /* Keeps it strictly sized on wide screens */
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}
.auth-subtitle {
    text-align: left;
    margin-bottom: 30px;
}
.auth-header h2 {
    margin: 0 0 10px;
    color: #2c3e50;
    font-size: 28px;
}

.auth-header p {
    margin: 0;
    color: #6c757d;
    font-size: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #343a40;
    font-weight: 600;
    font-size: 14px;
}

/* Wrapper to position FontAwesome icons inside the input field */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    color: #adb5bd;
}


.input-wrapper input {
    width: 100%;
    padding: 12px 12px 12px 40px; /* 40px left padding makes room for the icon */
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s ease;
}

.input-wrapper textarea:focus {
    outline: none;
    border-color: #28a745; /* Matches your green Order button */
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}
.input-wrapper textarea {
    width: 100%;
    padding: 12px 12px 12px 40px; /* 40px left padding makes room for the icon */
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s ease;
}

.input-wrapper textarea:focus {
    outline: none;
    border-color: #28a745; /* Matches your green Order button */
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}



.submit-btn {
    width: 100%;
    padding: 14px;
    background-color: #28a745; 
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #218838;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #6c757d;
}

.auth-footer a {
    color: #28a745;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}
/* Wrapper to hold the select and the custom icon */
.select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Style the native select to match your other inputs */
.select-wrapper select {
    width: 100%;
    padding: 12px 40px 12px 15px; /* 40px on the right makes room for the icon */
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 15px;
    color: #495057;
    background-color: #fff;
    cursor: pointer;
    
    /* This removes the default ugly browser arrow */
    appearance: none; 
    -webkit-appearance: none;
    -moz-appearance: none;
    
    transition: border-color 0.2s ease;
}

.select-wrapper select:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

/* Position the FontAwesome down arrow strictly on the right */
.select-wrapper .select-icon {
    position: absolute;
    right: 15px;
    color: #adb5bd;
    pointer-events: none; /* Crucial: lets the user click "through" the icon */
}