/**
 * @author    mypresta.rocks <info@mypresta.rocks>
 * @copyright Copyright (c) mypresta.rocks
 * @license   Commercial license, only to use on restricted domains
 */

/* Trade Account Apply Form */
.mpr-loyalty-apply {
    margin: 0 auto;
}

/* Intro/Outro Text Sections */
.mpr-loyalty-intro-text,
.mpr-loyalty-outro-text {
    color: #666;
    line-height: 1.6;
}

.mpr-loyalty-intro-text p:last-child,
.mpr-loyalty-outro-text p:last-child {
    margin-bottom: 0;
}

.mpr-loyalty-outro-text {
    font-size: 14px;
    color: #888;
    padding-top: 10px;
    border-top: 1px solid #e5e5e5;
}

.mpr-loyalty-apply .form-section {
    background: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.mpr-loyalty-apply .section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2fb5d2;
    color: #232323;
}

.mpr-loyalty-apply .form-group {
    margin-bottom: 15px;
}

.mpr-loyalty-apply .form-group label {
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
    color: #333;
    text-align: left;
}

/* Custom checkbox styling for PrestaShop compatibility */
.mpr-loyalty-apply .custom-control {
    position: relative;
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5rem;
}

.mpr-loyalty-apply .custom-control-input {
    position: absolute;
    left: 0;
    z-index: -1;
    width: 1rem;
    height: 1.25rem;
    opacity: 0;
}

.mpr-loyalty-apply .custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
    cursor: pointer;
    text-align: left;
}

.mpr-loyalty-apply .custom-control-label::before {
    position: absolute;
    top: 0.125rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background-color: #fff;
    border: 1px solid #adb5bd;
    border-radius: 0.25rem;
}

.mpr-loyalty-apply .custom-control-label::after {
    position: absolute;
    top: 0.125rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background: no-repeat 50% / 50% 50%;
}

.mpr-loyalty-apply .custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #2fb5d2;
    background-color: #2fb5d2;
}

.mpr-loyalty-apply .custom-control-input:checked ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e");
}

.mpr-loyalty-apply .custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(47, 181, 210, 0.25);
}

.mpr-loyalty-apply .custom-checkbox {
    padding-left: 1.5rem;
}

.mpr-loyalty-apply .form-group.required label::after {
    content: ' *';
    color: #d9534f;
}

.mpr-loyalty-apply .form-control {
    border-radius: 4px;
    border: 1px solid #d6d4d4;
    padding: 8px 12px;
    height: auto;
    min-height: 40px;
    background-color: #fff;
    font-size: 14px;
    color: #333;
}

.mpr-loyalty-apply select.form-control {
    padding: 8px 12px;
    height: 40px !important;
    line-height: 1.4;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23666' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 8px 10px;
    padding-right: 30px;
}

.mpr-loyalty-apply textarea.form-control {
    min-height: 80px;
    resize: vertical;
}

.mpr-loyalty-apply .form-control:focus {
    border-color: #2fb5d2;
    box-shadow: 0 0 0 0.2rem rgba(47, 181, 210, 0.25);
    background-color: #fff;
}

.mpr-loyalty-apply .form-control:read-only {
    background-color: #f5f5f5;
}

.mpr-loyalty-apply .form-control.is-invalid {
    border-color: #d9534f;
}

.mpr-loyalty-apply .invalid-feedback {
    color: #d9534f;
    font-size: 13px;
    margin-top: 5px;
}

.mpr-loyalty-apply .input-group-btn .btn {
    height: 100%;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.mpr-loyalty-apply .form-actions {
    text-align: center;
    padding: 20px 0;
}

.mpr-loyalty-apply .form-actions .btn {
    padding: 12px 40px;
    font-size: 16px;
}

.mpr-loyalty-apply .custom-control-label {
    font-weight: normal;
}

/* VAT Validation Result */
#vat-validation-result {
    margin-top: 8px;
}

#vat-validation-result .text-success {
    color: #5cb85c;
}

#vat-validation-result .text-danger {
    color: #d9534f;
}

#vat-validation-result .text-warning {
    color: #f0ad4e;
}

#vat-validation-result i {
    font-size: 16px;
    vertical-align: middle;
}

/* Trade Account Status Page */
.mpr-loyalty-status {
    margin: 0 auto;
}

.mpr-loyalty-status .card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    margin-bottom: 20px;
}

.mpr-loyalty-status .card-header {
    background: #f5f5f5;
    padding: 15px 20px;
    border-bottom: 1px solid #e5e5e5;
}

.mpr-loyalty-status .card-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.mpr-loyalty-status .card-body {
    padding: 25px;
}

/* Status Cards */
.mpr-loyalty-status .status-card {
    text-align: center;
}

.mpr-loyalty-status .status-icon {
    margin-bottom: 15px;
}

.mpr-loyalty-status .status-icon i {
    font-size: 64px;
}

.mpr-loyalty-status .status-card.status-success .status-icon i {
    color: #5cb85c;
}

.mpr-loyalty-status .status-card.status-warning .status-icon i {
    color: #f0ad4e;
}

.mpr-loyalty-status .status-card.status-danger .status-icon i {
    color: #d9534f;
}

.mpr-loyalty-status .status-card.status-info .status-icon i {
    color: #5bc0de;
}

.mpr-loyalty-status .status-label {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.mpr-loyalty-status .status-message {
    color: #666;
    font-size: 15px;
}

/* Success Card */
.mpr-loyalty-status .success-card .success-icon {
    margin-bottom: 20px;
}

.mpr-loyalty-status .success-card .success-icon i {
    font-size: 72px;
    color: #5cb85c;
}

.mpr-loyalty-status .success-card h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.mpr-loyalty-status .success-card .lead {
    color: #666;
    margin-bottom: 25px;
}

.mpr-loyalty-status .what-next {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 25px;
}

.mpr-loyalty-status .what-next h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.mpr-loyalty-status .what-next ul li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.mpr-loyalty-status .what-next ul li i {
    color: #5cb85c;
    margin-right: 10px;
    font-size: 20px;
}

.mpr-loyalty-status .contact-info {
    color: #888;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Details List */
.mpr-loyalty-status .details-list dt {
    font-weight: 600;
    color: #666;
    margin-bottom: 5px;
}

.mpr-loyalty-status .details-list dd {
    margin-bottom: 15px;
    color: #333;
}

/* Status Actions */
.mpr-loyalty-status .status-actions {
    padding: 20px 0;
}

.mpr-loyalty-status .status-actions .btn {
    margin: 0 5px;
}

/* Modal Styles */
#mpr-loyalty-modal .modal-dialog {
    max-width: 680px;
    margin: 30px auto;
}

#mpr-loyalty-modal .modal-content {
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

#mpr-loyalty-modal .modal-header {
    background: linear-gradient(135deg, #24b9d7 0%, #1d93ab 100%);
    border-bottom: none;
    padding: 20px 25px;
}

#mpr-loyalty-modal .modal-header .modal-title {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

#mpr-loyalty-modal .modal-header .modal-title::before {
    content: '\e8f4';
    font-family: 'Material Icons';
    margin-right: 12px;
    font-size: 24px;
}

#mpr-loyalty-modal .modal-header .close {
    color: #fff;
    opacity: 0.8;
    text-shadow: none;
    font-size: 28px;
    font-weight: 300;
    padding: 0;
    margin: -5px -5px -5px auto;
}

#mpr-loyalty-modal .modal-header .close:hover {
    opacity: 1;
}

#mpr-loyalty-modal .modal-body {
    padding: 0;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

#mpr-loyalty-modal #mpr-loyalty-form-container {
    padding: 25px 30px;
}

#mpr-loyalty-modal #loyalty-form {
    margin: 0;
}

#mpr-loyalty-modal #loyalty-form .row {
    margin-left: -10px;
    margin-right: -10px;
}

#mpr-loyalty-modal #loyalty-form .row > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
}

#mpr-loyalty-modal .form-group {
    margin-bottom: 18px;
}

#mpr-loyalty-modal .form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #232323;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

#mpr-loyalty-modal .form-group label .text-danger {
    color: #ff4c4c;
}

#mpr-loyalty-modal .form-control {
    border: 2px solid #e8e8e8;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
    color: #232323;
    background-color: #fafafa;
    transition: all 0.2s ease;
    height: auto;
    min-height: 44px;
}

#mpr-loyalty-modal .form-control:focus {
    border-color: #24b9d7;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(36, 185, 215, 0.15);
    outline: none;
}

#mpr-loyalty-modal .form-control::placeholder {
    color: #aaa;
}

#mpr-loyalty-modal select.form-control {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 36px;
}

#mpr-loyalty-modal textarea.form-control {
    min-height: 80px;
    resize: vertical;
}

/* Section dividers in modal */
#mpr-loyalty-modal .verification-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    border: 1px solid #e8e8e8;
}

#mpr-loyalty-modal #address-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 10px;
    border: 1px solid #e8e8e8;
}

/* VAT validation input group */
#mpr-loyalty-modal .input-group {
    display: flex;
}

#mpr-loyalty-modal .input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    flex: 1;
}

#mpr-loyalty-modal .input-group .input-group-btn,
#mpr-loyalty-modal .input-group-append {
    display: flex;
}

#mpr-loyalty-modal .input-group .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border: 2px solid #24b9d7;
    background: #24b9d7;
    color: #fff;
    font-weight: 600;
    padding: 10px 18px;
    white-space: nowrap;
}

#mpr-loyalty-modal .input-group .btn:hover {
    background: #1d93ab;
    border-color: #1d93ab;
}

/* Checkbox styling */
#mpr-loyalty-modal .custom-control {
    padding-left: 28px;
    min-height: 24px;
}

#mpr-loyalty-modal .custom-control-input {
    position: absolute;
    left: 0;
    z-index: -1;
    width: 18px;
    height: 18px;
    opacity: 0;
}

#mpr-loyalty-modal .custom-control-label {
    font-weight: 500;
    color: #232323;
    cursor: pointer;
    font-size: 14px;
}

#mpr-loyalty-modal .custom-control-label::before {
    position: absolute;
    top: 2px;
    left: 0;
    width: 20px;
    height: 20px;
    content: "";
    background-color: #fafafa;
    border: 2px solid #d6d4d4;
    border-radius: 4px;
    transition: all 0.15s ease;
}

#mpr-loyalty-modal .custom-control-label::after {
    position: absolute;
    top: 2px;
    left: 0;
    width: 20px;
    height: 20px;
    content: "";
    background: no-repeat 50% / 12px 12px;
}

#mpr-loyalty-modal .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #24b9d7;
    border-color: #24b9d7;
}

#mpr-loyalty-modal .custom-control-input:checked ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e");
}

#mpr-loyalty-modal .custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 3px rgba(36, 185, 215, 0.2);
}

/* Submit button */
#mpr-loyalty-modal #submit-application {
    width: 100%;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    background: linear-gradient(135deg, #24b9d7 0%, #1d93ab 100%);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
}

#mpr-loyalty-modal #submit-application:hover {
    background: linear-gradient(135deg, #1d93ab 0%, #18798d 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(36, 185, 215, 0.3);
}

#mpr-loyalty-modal #submit-application:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#mpr-loyalty-modal #submit-application .spinner-border {
    width: 18px;
    height: 18px;
    border-width: 2px;
    vertical-align: middle;
    margin-right: 8px;
}

/* File upload styling */
#mpr-loyalty-modal .form-control-file {
    padding: 10px;
    border: 2px dashed #d6d4d4;
    border-radius: 6px;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.2s ease;
}

#mpr-loyalty-modal .form-control-file:hover {
    border-color: #24b9d7;
    background: #f0f9fb;
}

#mpr-loyalty-modal small.text-muted {
    color: #888 !important;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* VAT validation result */
#mpr-loyalty-modal #vat-validation-result {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
}

#mpr-loyalty-modal #vat-validation-result:not(:empty) {
    background: #f8f9fa;
}

#mpr-loyalty-modal #vat-validation-result .text-success {
    color: #4cbb6c !important;
}

#mpr-loyalty-modal #vat-validation-result .text-danger {
    color: #ff4c4c !important;
}

#mpr-loyalty-modal #vat-validation-result .text-info {
    color: #24b9d7 !important;
}

#mpr-loyalty-modal #vat-validation-result i {
    font-size: 16px;
    vertical-align: middle;
    margin-right: 4px;
}

/* Alert styling in modal */
#mpr-loyalty-modal .alert {
    border-radius: 6px;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: none;
}

#mpr-loyalty-modal .alert-success {
    background: #e8f8ec;
    color: #2d7a45;
}

#mpr-loyalty-modal .alert-success i {
    color: #4cbb6c;
}

#mpr-loyalty-modal .alert-danger {
    background: #ffebeb;
    color: #c53030;
}

#mpr-loyalty-modal .alert-danger ul {
    margin: 0;
    padding-left: 18px;
}

/* Loading spinner */
#mpr-loyalty-modal .spinner-border {
    color: #24b9d7;
}

#mpr-loyalty-modal .text-center.py-4 {
    padding: 60px 20px !important;
}

/* Success state styling */
#mpr-loyalty-modal .alert-success.text-center {
    padding: 40px 30px;
}

#mpr-loyalty-modal .alert-success.text-center i {
    font-size: 64px;
    display: block;
    margin-bottom: 15px;
}

#mpr-loyalty-modal .alert-success.text-center h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #232323;
}

#mpr-loyalty-modal .alert-success.text-center p {
    color: #666;
    margin-bottom: 20px;
}

#mpr-loyalty-modal .alert-success.text-center .btn-primary {
    background: linear-gradient(135deg, #24b9d7 0%, #1d93ab 100%);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
}

/* Responsive modal */
@media (max-width: 767px) {
    #mpr-loyalty-modal .modal-dialog {
        margin: 10px;
        max-width: calc(100% - 20px);
    }

    #mpr-loyalty-modal #mpr-loyalty-form-container {
        padding: 20px 15px;
    }

    #mpr-loyalty-modal .verification-section,
    #mpr-loyalty-modal #address-section {
        padding: 15px;
    }

    #mpr-loyalty-modal .modal-header {
        padding: 15px 20px;
    }

    #mpr-loyalty-modal .modal-header .modal-title {
        font-size: 18px;
    }
}

/* Navigation Link */
.mpr-loyalty-nav-item {
    display: inline-block;
}

.mpr-loyalty-nav-link {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    color: inherit;
    text-decoration: none;
}

.mpr-loyalty-nav-link:hover {
    text-decoration: none;
}

.mpr-loyalty-nav-link i {
    margin-right: 8px;
    font-size: 18px;
}

/* Button Wrapper */
.mpr-loyalty-button-wrapper {
    margin: 15px 0;
}

.mpr-loyalty-apply-btn {
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.mpr-loyalty-apply-btn i {
    margin-right: 8px;
}

.mpr-loyalty-apply-btn:disabled {
    opacity: 0.8;
    cursor: wait;
}

.mpr-loyalty-apply-btn .spinner-border {
    width: 16px;
    height: 16px;
    border-width: 2px;
    margin-right: 8px;
}

/* Badge in Customer Account */
#loyalty-link .badge {
    font-size: 11px;
    padding: 3px 8px;
    vertical-align: middle;
}

/* Responsive */
@media (max-width: 768px) {
    .mpr-loyalty-apply .form-section {
        padding: 15px;
    }

    .mpr-loyalty-status .status-icon i {
        font-size: 48px;
    }

    .mpr-loyalty-status .status-label {
        font-size: 20px;
    }
}

/* Already Applied / Check Status Section */
.mpr-check-status-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
}

.mpr-check-status-section .card {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin: 0 auto;
}

.mpr-check-status-section .card-body {
    padding: 2rem 2.5rem;
}

.mpr-check-status-section .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #232323;
    margin-bottom: 0.5rem;
}

.mpr-check-status-section .card-title i {
    color: #2fb5d2;
    margin-right: 0.5rem;
}

.mpr-check-status-section .text-muted {
    margin-bottom: 1.25rem;
}

.mpr-check-status-section .input-group {
    display: flex;
    flex-wrap: nowrap;
    max-width: 100%;
}

.mpr-check-status-section .input-group .form-control {
    flex: 1;
    min-width: 0;
    border-radius: 8px 0 0 8px;
    border: 2px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    padding: 0.75rem 1rem;
    height: auto;
    font-size: 15px;
}

.mpr-check-status-section .input-group .form-control:focus {
    border-color: #2fb5d2;
    box-shadow: 0 0 0 3px rgba(47, 181, 210, 0.15);
    z-index: 1;
}

.mpr-check-status-section .input-group-append {
    display: flex;
}

.mpr-check-status-section .input-group-append .btn {
    border-radius: 0 8px 8px 0;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    white-space: nowrap;
    border: 2px solid #2fb5d2;
    background: #2fb5d2;
    color: #fff;
}

.mpr-check-status-section .input-group-append .btn:hover {
    background: #1d93ab;
    border-color: #1d93ab;
}

@media (max-width: 576px) {
    .mpr-check-status-section .card-body {
        padding: 1.5rem;
    }

    .mpr-check-status-section .input-group {
        flex-direction: column;
    }

    .mpr-check-status-section .input-group .form-control {
        border-radius: 8px;
        border-right: 2px solid #e5e5e5;
        margin-bottom: 0.75rem;
    }

    .mpr-check-status-section .input-group-append {
        width: 100%;
    }

    .mpr-check-status-section .input-group-append .btn {
        border-radius: 8px;
        width: 100%;
    }
}

/* Email Verification Flow Styling */
.mpr-loyalty-status .verification-sent-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #86efac;
}

.mpr-loyalty-status .verification-sent-card .card-body {
    padding: 40px 30px;
}

.mpr-loyalty-status .verification-sent-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.mpr-loyalty-status .verification-sent-icon i {
    font-size: 40px;
    color: #fff;
}

.mpr-loyalty-status .verification-sent-title {
    font-size: 24px;
    font-weight: 600;
    color: #15803d;
    margin-bottom: 15px;
}

.mpr-loyalty-status .verification-sent-message {
    color: #166534;
    font-size: 15px;
    line-height: 1.6;
    max-width: 450px;
    margin: 0 auto 15px;
}

.mpr-loyalty-status .verification-sent-note {
    color: #4ade80;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.7);
    padding: 10px 15px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 25px;
}

/* Status Lookup Card Styling */
.mpr-loyalty-status .lookup-card {
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
}

.mpr-loyalty-status .lookup-card .card-body {
    padding: 40px 30px;
}

.mpr-loyalty-status .lookup-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2fb5d2 0%, #1d93ab 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.mpr-loyalty-status .lookup-icon i {
    font-size: 36px;
    color: #fff;
}

.mpr-loyalty-status .lookup-title {
    font-size: 22px;
    font-weight: 600;
    color: #232323;
    margin-bottom: 10px;
}

.mpr-loyalty-status .lookup-description {
    color: #666;
    font-size: 15px;
    max-width: 400px;
    margin: 0 auto 25px;
    line-height: 1.5;
}

.mpr-loyalty-status .lookup-form {
    max-width: 400px;
    margin: 0 auto;
}

.mpr-loyalty-status .lookup-form .form-group {
    margin-bottom: 15px;
}

.mpr-loyalty-status .lookup-form .form-control {
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 15px;
    text-align: center;
    transition: all 0.2s ease;
}

.mpr-loyalty-status .lookup-form .form-control:focus {
    border-color: #2fb5d2;
    box-shadow: 0 0 0 3px rgba(47, 181, 210, 0.15);
}

.mpr-loyalty-status .lookup-form .btn-primary {
    background: linear-gradient(135deg, #2fb5d2 0%, #1d93ab 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    width: 100%;
    transition: all 0.2s ease;
}

.mpr-loyalty-status .lookup-form .btn-primary:hover {
    background: linear-gradient(135deg, #1d93ab 0%, #18798d 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(47, 181, 210, 0.3);
}

.mpr-loyalty-status .lookup-form .btn-primary i {
    vertical-align: middle;
    margin-right: 5px;
    font-size: 18px;
}

.mpr-loyalty-status .lookup-divider {
    max-width: 300px;
    margin: 30px auto;
    border-top: 1px solid #e5e5e5;
    position: relative;
}

.mpr-loyalty-status .lookup-divider::before {
    content: 'or';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 0 15px;
    color: #999;
    font-size: 13px;
    text-transform: uppercase;
}

.mpr-loyalty-status .lookup-footer {
    margin-top: 15px;
}

.mpr-loyalty-status .lookup-footer p {
    color: #888;
    font-size: 14px;
    margin-bottom: 10px;
}

.mpr-loyalty-status .btn-outline-primary {
    border: 2px solid #2fb5d2;
    color: #2fb5d2;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.mpr-loyalty-status .btn-outline-primary:hover {
    background: #2fb5d2;
    color: #fff;
}

.mpr-loyalty-status .btn-outline-primary i {
    vertical-align: middle;
    margin-right: 5px;
    font-size: 18px;
}

/* Error Alert Styling */
.mpr-loyalty-status .alert-warning {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    color: #9a3412;
    padding: 12px 16px;
}

.mpr-loyalty-status .alert-warning i {
    vertical-align: middle;
    margin-right: 5px;
    color: #f97316;
}

@media (max-width: 576px) {
    .mpr-loyalty-status .lookup-card .card-body,
    .mpr-loyalty-status .verification-sent-card .card-body {
        padding: 30px 20px;
    }

    .mpr-loyalty-status .lookup-title,
    .mpr-loyalty-status .verification-sent-title {
        font-size: 20px;
    }
}

/* Set Password Page */
.mpr-loyalty-set-password .card {
    max-width: 500px;
    margin: 0 auto;
}

.mpr-loyalty-set-password i {
    vertical-align: middle;
}

/* Password input with inline toggle button */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper .form-control {
    padding-right: 44px;
}

.password-toggle {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    outline: none;
}

.password-toggle:focus {
    outline: none;
    box-shadow: none;
}

.password-toggle::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 6a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM4.5 8a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0Z' fill='%23aab7c4'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.476 4.89C2.2 5.884 1.5 7.065 1.5 8s.699 2.116 1.976 3.11c1.251.973 2.906 1.64 4.524 1.64 1.618 0 3.273-.667 4.524-1.64C13.8 10.116 14.5 8.935 14.5 8s-.699-2.116-1.976-3.11C11.273 3.917 9.618 3.25 8 3.25c-1.618 0-3.273.667-4.524 1.64Zm-.92-1.184C4.022 2.564 5.992 1.75 8 1.75s3.977.814 5.445 1.956C14.886 4.828 16 6.396 16 8c0 1.604-1.114 3.172-2.555 4.294C11.977 13.436 10.007 14.25 8 14.25s-3.977-.814-5.445-1.956C1.114 11.172 0 9.604 0 8c0-1.604 1.114-3.172 2.555-4.294Z' fill='%23aab7c4'/%3E%3C/svg%3E");
}

.password-toggle.show::before {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M14.53 2.53a.75.75 0 0 0-1.06-1.06l-1.366 1.365C10.871 2.172 9.444 1.75 8 1.75c-2.007 0-3.977.814-5.445 1.956C1.114 4.828 0 6.396 0 8c0 1.604 1.114 3.172 2.555 4.294l.051.04L1.47 13.47a.75.75 0 1 0 1.06 1.06l1.366-1.365c1.233.663 2.66 1.085 4.104 1.085 2.007 0 3.977-.814 5.445-1.956C14.886 11.172 16 9.604 16 8c0-1.604-1.114-3.172-2.555-4.294a7.156 7.156 0 0 0-.051-.04L14.53 2.53Z' fill='%23aab7c4'/%3E%3C/svg%3E");
}

.password-toggle:hover::before {
    opacity: 0.7;
}

/* Tier Benefits */
.mpr-tier-benefits .card {
    border: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.mpr-tier-benefits .card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-bottom: none;
    padding: 20px 24px;
}

.mpr-tier-benefits .card-header h5 {
    color: #fff;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
}

.mpr-tier-benefits .card-header i {
    color: #ffd700;
    margin-right: 10px;
}

.mpr-tier-benefits .card-body {
    padding: 24px;
}

.mpr-tier-benefits .card-body > p {
    font-size: 15px;
    margin-bottom: 20px;
}

.mpr-tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.mpr-tier-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e9ecef;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mpr-tier-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.mpr-tier-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mpr-tier-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.mpr-tier-badge i {
    color: inherit !important;
}

.mpr-tier-info {
    flex: 1;
    min-width: 0;
}

.mpr-tier-info h6 {
    font-weight: 700;
    font-size: 18px;
    margin: 0 0 4px 0;
}

.mpr-tier-info small {
    display: block;
    line-height: 1.4;
}

.mpr-benefits-list {
    padding: 0 20px 20px;
    margin: 0;
}

.mpr-benefits-list li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.mpr-benefits-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mpr-benefits-list li i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e8f5e9;
    color: #4caf50;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    flex-shrink: 0;
    font-size: 16px;
}

.mpr-benefits-list li span {
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

/* Single tier - simpler display */
.mpr-tier-card.single-tier {
    border: none;
    box-shadow: none;
    background: transparent;
}

.mpr-tier-card.single-tier .mpr-tier-header {
    padding: 0 0 16px 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 8px;
}

.mpr-tier-card.single-tier .mpr-benefits-list {
    padding: 0;
}

.mpr-tier-card.single-tier .mpr-benefits-list li {
    padding: 10px 0;
}

.mpr-tier-card.single-tier .mpr-benefits-list li i {
    width: 28px;
    height: 28px;
    font-size: 14px;
}
