/* Custom Auth Styles for Premium Look */

.customer_login {
    padding: 40px 0;
}

.login-item {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    margin-bottom: 30px;
}

.login-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.title-login {
    font-size: 24px;
    font-weight: 600;
    color: #222;
    margin-bottom: 25px;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 15px;
}

.title-login::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #ab8e66, #d4af37);
    /* Brand Gold Gradient */
    border-radius: 2px;
}

.form-row {
    margin-bottom: 20px;
}

.form-row label.text {
    font-size: 14px;
    font-weight: 500;
    color: #555;
    display: block;
    margin-bottom: 8px;
}

.input-text {
    width: 100%;
    height: 48px;
    padding: 10px 20px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    /* Softer radius */
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
    background-color: #fcfcfc;
}

.input-text:focus {
    border-color: #ab8e66;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(171, 142, 102, 0.15);
    outline: none;
}

.button-submit {
    display: inline-block;
    background: #ab8e66;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 35px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(171, 142, 102, 0.3);
}

.button-submit:hover {
    background: #8c7352;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(171, 142, 102, 0.4);
}

.register-benefits h5 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.text-danger {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

/* Checkbox Styling */
.form-row .inline {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    position: relative;
    /* Ensure context */
}

.form-row input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    cursor: pointer;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    outline: none !important;
    position: relative !important;
    display: inline-block !important;
    margin-right: 0 !important;
    /* Managed by gap */
    border: 1px solid #ccc !important;
    background-color: #fff !important;
    border-radius: 3px;
}

.form-row input[type="checkbox"]:checked {
    background-color: #ab8e66 !important;
    border-color: #ab8e66 !important;
}

.form-row input[type="checkbox"]:checked::after {
    content: '✔';
    position: absolute;
    color: white;
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-checkbox span {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-checkbox input[type="hidden"] {
    display: none !important;
}

.form-checkbox span {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

/* Modal Styling Improvements */
.modal-content {
    border-radius: 10px;
    border: none;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.modal-header {
    border-bottom: 1px solid #eee;
    padding: 20px 30px;
    background: #f9f9f9;
    border-radius: 10px 10px 0 0;
}

.modal-title {
    font-weight: 600;
    color: #333;
}

.modal-body {
    padding: 30px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.modal-footer {
    border-top: none;
    padding: 20px 30px;
}

/* Social Login Buttons */
.social-login-container {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px dashed #ddd;
    text-align: center;
}

.social-title {
    font-size: 14px;
    color: #888;
    margin-bottom: 15px;
    display: block;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-social {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 14px;
    color: #fff !important;
    transition: transform 0.2s ease;
    border: none;
    min-width: 180px;
    justify-content: center;
}

.btn-social:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.btn-google {
    background-color: #db4437;
}

.btn-facebook {
    background-color: #4267B2;
}

.btn-social i {
    font-size: 18px;
}

/* Header Profile Picture Container */
.profile-pic-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    vertical-align: middle;
    margin-top: -12px;
}

/* Header Profile Picture */
.header-profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ab8e66;
    transition: all 0.3s ease;
}

.header-profile-pic:hover {
    border-color: #d4af37;
    transform: scale(1.1);
}

.login-submit-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.login-submit-row .form-checkbox {
    margin-bottom: 0;
    /* Remove potential margin from label */
}

/* Password Validation Guidelines */
.password-guidelines {
    margin-top: 10px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 12px;
    display: none;
    /* Hidden by default */
    transition: all 0.3s ease;
}

.password-guidelines h5 {
    margin: 0 0 5px 0;
    font-size: 13px;
    font-weight: bold;
    color: #333;
}

.password-guidelines ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.password-guidelines li {
    padding: 5px 0;
    color: #555;
    /* Neutral color */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 13px;
}

.password-guidelines li::before {
    content: '•';
    /* Bullet point */
    margin-right: 8px;
    font-size: 14px;
    color: #ab8e66;
    /* Brand color */
}

.password-guidelines li.valid {
    display: none !important;
    /* Hide immediately when met */
}

.password-guidelines li.invalid {
    /* Default style is fine, just ensure visibility */
    display: flex;
}