/* Authentication Modals Styles */
.auth-modal {
    display: none;
    position: fixed !important;
    z-index: 2000 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    box-sizing: border-box !important;
}

/* Prevent modals from shifting layout */
body.modal-open {
    padding-right: 0 !important;
    overflow-y: auto !important;
}

.auth-modal-content {
    background-color: #fff;
    margin: 5% auto;
    border-radius: 15px;
    max-width: 900px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    overflow: hidden;
    position: relative;
}

.auth-form-container {
    padding: 30px 40px;
    width: 50%;
}

.auth-image-container {
    width: 50%;
    background-image: url('../../img/Cover-3-cut.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.auth-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1));
}

.auth-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 20px;
}

.auth-form input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    margin-bottom: 15px;
    border: 1px solid var(--brand-primary);
    border-radius: 25px;
    font-size: 14px;
    background-color: #f8f8f8;
    height: 42px;
    box-sizing: border-box;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(138, 143, 39, 0.1);
}

.auth-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #555;
}

.auth-form .input-group {
    position: relative;
    margin-bottom: 15px;
}

.auth-form .input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    z-index: 2;
    font-size: 16px;
}

.auth-form .password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    z-index: 2;
}

.auth-form .remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.auth-form .remember-me input {
    width: auto;
    margin-right: 10px;
    margin-bottom: 0;
    height: auto;
    padding: 0;
}

.auth-form .remember-me label {
    margin-bottom: 0;
    font-size: 13px;
}

.auth-form .forgot-password {
    text-align: right;
    margin-bottom: 15px;
}

.auth-form .forgot-password a {
    color: var(--brand-primary);
    text-decoration: none;
    font-size: 13px;
}

.auth-form .auth-btn {
    width: 100%;
    padding: 10px;
    background-color: var(--brand-primary);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: background-color 0.3s;
    height: 42px;
}

.auth-form .auth-btn:hover {
    background-color: #747a22;
}

.auth-form .auth-footer {
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
}

.auth-form .auth-footer a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    z-index: 10;
}

/* Order details styling */
.order-details {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

#orderDetailsContent {
    font-size: 14px;
}

/* Enhanced order details styles moved to mizizi-styles.css */

.enhanced-order-details .order-status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 600;
    margin-left: 5px;
}

.text-center {
    text-align: center;
}

#orderDetailsContent table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

#orderDetailsContent table th,
#orderDetailsContent table td {
    padding: 8px;
    border-bottom: 1px solid #eee;
    text-align: left;
    font-size: 13px;
}

#orderDetailsContent table th {
    font-weight: 600;
    color: #555;
}

#orderDetailsContent .order-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

#orderDetailsContent .status-pending {
    background-color: #fff3cd;
    color: #856404;
}

#orderDetailsContent .status-processing {
    background-color: #cce5ff;
    color: #004085;
}

#orderDetailsContent .status-completed {
    background-color: #d4edda;
    color: #155724;
}

#orderDetailsContent .status-cancelled {
    background-color: #f8d7da;
    color: #721c24;
}

#orderDetailsContent .order-map {
    height: 200px;
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
}

/* Alert messages */
.auth-form-container .alert {
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 13px;
}

.auth-form-container .alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.auth-form-container .alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Fix for rows and columns in profile */
.auth-form .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
    margin-bottom: 5px;
}

.auth-form .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 10px;
    box-sizing: border-box;
}

/* Fix for textarea */
.auth-form textarea {
    padding-left: 40px;
    font-size: 14px;
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
}

/* Fix for form-control inside auth-form */
.auth-form .form-control {
    padding: 10px 15px;
    height: 42px;
    font-size: 14px;
    border-radius: 25px;
    border: 1px solid #e0e0e0;
    background-color: #f8f8f8;
}

/* Fix for input-group-append */
.auth-form .input-group-append {
    display: flex;
}

.auth-form .input-group-append button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    height: 42px;
    padding: 0 15px;
    font-size: 14px;
    background-color: var(--brand-primary);
    color: white;
    border: none;
}

/* Fix for form-text */
.auth-form .form-text {
    font-size: 12px;
    color: #777;
    margin-top: -12px;
    margin-bottom: 15px;
    display: block;
}

/* Fix for nav tabs */
.auth-form-container .nav-tabs {
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 15px;
    display: flex;
    padding-left: 0;
    list-style: none;
}

.auth-form-container .nav-item {
    margin-bottom: -1px;
}

.auth-form-container .nav-link {
    display: block;
    padding: 8px 15px;
    border: 1px solid transparent;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    text-decoration: none;
    color: #555;
    font-size: 14px;
}

.auth-form-container .nav-link.active {
    color: var(--brand-primary);
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
    font-weight: 600;
}

.auth-form-container .nav-link:hover {
    border-color: #e9ecef #e9ecef #dee2e6;
    color: var(--brand-primary);
}

.auth-form-container .tab-content {
    padding-top: 10px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .auth-modal-content {
        flex-direction: column;
        margin: 10% auto;
        max-width: 90%;
    }
    
    .auth-form-container, 
    .auth-image-container {
        width: 100%;
    }
    
    .auth-image-container {
        height: 200px;
        order: -1;
    }
    
    .auth-form-container {
        padding: 25px;
    }
    
    .auth-form .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* These styles have been moved to mizizi-styles.css */

/* Subtotal styles moved to mizizi-styles.css */

/* Success alert styles moved to mizizi-styles.css */

/* Responsive adjustments for order modal moved to mizizi-styles.css */

/* Authentication Modal Styling */
.modal-form-group {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

/* Input Container */
.input-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

/* Icon Positioning */
.input-icon {
    position: absolute;
    left: -35px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--brand-primary);
    transition: all 0.3s ease;
}

.input-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Toggle Password Icon */
.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--brand-primary);
    transition: all 0.3s ease;
    background: none;
    border: none;
    padding: 0;
}

.toggle-password:hover {
    color: #767a21;
}

/* Form Input Styling */
.modal-input,
.modal-form-column input,
.modal-form-column textarea,
.modal-form-column select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.modal-input:focus,
.modal-form-column input:focus,
.modal-form-column textarea:focus,
.modal-form-column select:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(138, 143, 39, 0.1);
}

/* Override any browser default focus styles */
input:focus,
textarea:focus,
select:focus,
button:focus {
    outline: none !important;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(138, 143, 39, 0.1);
}

.map-search-input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(138, 143, 39, 0.1);
}

/* Modal Header */
.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    color: var(--brand-primary);
    font-size: 2em;
    margin-bottom: 10px;
}

/* Submit Button */
.modal-submit {
    width: 100%;
    padding: 12px;
    background: var(--brand-primary);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.modal-submit:hover {
    background: #767a21;
}

/* Tab Navigation */
.modal-tabs {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    border-bottom: 1px solid rgba(138, 143, 39, 0.2);
}

.modal-tab {
    padding: 10px 20px;
    cursor: pointer;
    color: #666;
    position: relative;
    transition: all 0.3s ease;
}

.modal-tab.active {
    color: var(--brand-primary);
}

.modal-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--brand-primary);
}

/* Order Status Timeline */
.order-status {
    margin-top: 30px;
    padding: 20px;
}

.status-timeline {
    position: relative;
    margin-top: 30px;
}

.status-step {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.status-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    height: calc(100% - 20px);
    width: 2px;
    background-color: rgba(138, 143, 39, 0.2);
}

.status-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid rgba(138, 143, 39, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    position: relative;
    z-index: 1;
}

.status-step.active .status-icon {
    border-color: var(--brand-primary);
    background-color: var(--brand-primary);
    color: #fff;
}

.status-text {
    flex: 1;
}

.status-text h4 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.status-time {
    font-size: 14px;
    color: #666;
    margin: 5px 0 0;
}

/* Success/Error Messages */
.success-message,
.error-message {
    text-align: center;
    padding: 30px;
    display: none;
}

.success-message i,
.error-message i {
    font-size: 48px;
    margin-bottom: 15px;
}

.success-message i {
    color: var(--brand-primary);
}

.error-message i {
    color: #dc3545;
}

.success-message h3,
.error-message h3 {
    margin: 10px 0;
    font-size: 24px;
}

.success-message p,
.error-message p {
    color: #666;
    margin: 0;
}

/* Map Container Styles */
.map-container {
    width: 100%;
    height: 400px;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.delivery-map {
    width: 100%;
    height: 100%;
    position: relative;
}

.map-search-input {
    margin: 10px;
    padding: 10px 15px;
    width: calc(100% - 20px);
    max-width: 300px;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    font-size: 14px;
}

/* Tab Content Styles */
.modal-tab-content {
    display: none;
    padding: 20px 0;
}

.modal-tab-content.active {
    display: block;
}

/* Orders List Styles */
.orders-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.order-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.order-item:hover {
    transform: translateY(-2px);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.order-header h4 {
    margin: 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.order-date {
    font-size: 14px;
    color: #666;
}

.order-details p {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
}

.order-status {
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.order-status.pending {
    background: #fff3cd;
    color: #856404;
}

.order-status.confirmed {
    background: #cce5ff;
    color: #004085;
}

.order-status.preparing {
    background: #d4edda;
    color: #155724;
}

.order-status.out_for_delivery {
    background: #e2e3ff;
    color: #2c2e89;
}

.order-status.delivered {
    background: #d1e7dd;
    color: #0f5132;
}

.order-status.cancelled {
    background: #f8d7da;
    color: #721c24;
}

.loading-text {
    text-align: center;
    color: #666;
    padding: 20px;
    font-style: italic;
}

.error-text {
    text-align: center;
    color: #dc3545;
    padding: 20px;
}

/* Success Message Animation */
@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(-10px); }
    10% { opacity: 1; transform: translateY(0); }
    90% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-10px); }
}

.success-message {
    animation: fadeInOut 3s ease-in-out;
}

/* Map Container Styles */
.map-container {
    width: 100%;
    height: 200px;
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

#delivery-map {
    width: 100%;
    height: 100%;
}

.map-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
}

.map-error {
    display: none;
    text-align: center;
    padding: 10px;
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    border-radius: 4px;
    margin: 10px 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .modal-tabs {
        flex-wrap: wrap;
    }
    
    .modal-tab {
        flex: 1 1 auto;
        text-align: center;
        padding: 10px;
    }
    
    .status-step {
        margin-bottom: 40px;
    }
    
    .map-container {
        height: 150px;
    }
}

/* Alternative Action Link */
.alt-action {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.alt-action a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 500;
}

.alt-action a:hover {
    text-decoration: underline;
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5em;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #333;
}

/* Form Container */
.modal-form {
    padding: 30px;
    background: white;
    border-radius: 15px;
    position: relative;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    .modal-form {
        padding: 20px;
    }

    .input-icon {
        left: -30px;
        width: 20px;
        height: 20px;
    }

    .modal-input {
        padding: 10px 35px 10px 12px;
        font-size: 0.95em;
    }

    .toggle-password {
        width: 20px;
        height: 20px;
        right: 12px;
    }
}

/* Modal base styles */
.modal-dialog.modal-xl {
    max-width: 95% !important; /* Increase from default to 95% of viewport width */
    width: 1800px; /* Set a maximum pixel width */
    margin: 1.75rem auto;
}

.modal-content {
    border-radius: 15px;
    border: none;
    background: #fff;
    overflow: hidden;
}

.modal-row {
    display: flex;
    min-height: 500px;
}

.modal-row.single-column {
    display: block;
    padding: 0;
    min-height: auto;
    overflow: hidden;
}

.modal-form-column {
    flex: 1;
    padding: 30px;
    position: relative;
    max-width: none;
}

.modal-form-column.full-width {
    width: 100%;
    max-width: none;
    padding: 30px;
    overflow-x: hidden;
}

/* Form layout improvements */
.form-row {
    margin: 0;
    width: 100%;
}

.form-row > [class*="col-"] {
    padding: 0 15px;
}

/* Map container adjustments */
.map-container.large {
    height: 500px; /* Increase map height */
    margin: 20px 0 30px;
}

/* Address form layout */
#addressPickerForm {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow: hidden;
}

#addressPickerForm .col-md-6 {
    padding: 0 15px;
}

/* Responsive adjustments */
@media (max-width: 1600px) {
    .modal-dialog.modal-xl {
        max-width: 95% !important;
        width: 1200px;
    }
}

@media (max-width: 992px) {
    .modal-dialog.modal-xl {
        max-width: 95% !important;
        width: auto;
        margin: 1rem auto;
    }

    .modal-row.single-column {
        padding: 20px;
    }

    .map-container.large {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .modal-dialog.modal-xl {
        max-width: 100% !important;
        margin: 0.5rem;
    }

    .modal-row.single-column {
        padding: 15px;
    }

    .map-container.large {
        height: 350px;
    }
}

/* Address Summary Styles */
.address-summary {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.address-summary h4 {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.address-summary p {
    color: #555;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.change-address-btn {
    background: var(--brand-primary);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.change-address-btn:hover {
    background: #9ba029;
}

.change-address-btn i {
    font-size: 16px;
}

/* Address Picker Modal Map */
#addressPickerMapContainer {
    height: 300px;
    margin-bottom: 20px;
}

.map-search-input {
    margin: 10px;
    padding: 10px 15px;
    width: calc(100% - 20px);
    max-width: 300px;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    font-size: 14px;
}

/* Modal stacking now handled in shared.css */

/* Modal Layout */
.modal-form-column {
    padding: 30px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--brand-primary) #f0f0f0;
}

.modal-form-column::-webkit-scrollbar {
    width: 8px;
}

.modal-form-column::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.modal-form-column::-webkit-scrollbar-thumb {
    background-color: var(--brand-primary);
    border-radius: 4px;
}

/* Tab Styles */
.modal-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(138, 143, 39, 0.2);
    padding-bottom: 10px;
}

.modal-tab {
    padding: 8px 16px;
    cursor: pointer;
    color: #666;
    font-weight: 500;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: transparent;
}

.modal-tab:hover {
    color: var(--brand-primary);
    background: rgba(138, 143, 39, 0.1);
}

.modal-tab.active {
    color: white;
    background: var(--brand-primary);
}

/* Tab Content */
.modal-tab-content {
    display: none;
    overflow: hidden;
    width: 100%;
}

.modal-tab-content.active {
    display: block;
    overflow: hidden;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Add to existing styles */

/* Address Summary Styles */
.address-summary {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.address-summary h4 {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.address-summary p {
    color: #555;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.change-address-btn {
    background: var(--brand-primary);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.change-address-btn:hover {
    background: #9ba029;
}

.change-address-btn i {
    font-size: 16px;
}

/* Address Picker Modal Map */
#addressPickerMapContainer {
    height: 300px;
    margin-bottom: 20px;
}

.map-search-input {
    margin: 10px;
    padding: 10px 15px;
    width: calc(100% - 20px);
    max-width: 300px;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    font-size: 14px;
}

/* Success Message Animation */
@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(-10px); }
    10% { opacity: 1; transform: translateY(0); }
    90% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-10px); }
}

.success-message {
    animation: fadeInOut 3s ease-in-out;
}

/* Profile Image and Badge Styles */
@keyframes glowPulse {
    0% {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(138, 143, 39, 0.4);
    }
    50% {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 0 20px 0 rgba(138, 143, 39, 0.6);
    }
    100% {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(138, 143, 39, 0.4);
    }
}

.profile-image-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--brand-primary);
    animation: glowPulse 3s ease-in-out infinite;
    position: relative;
}

.profile-image-container::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: transparent;
    z-index: -1;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 15px;
}

.name-badge-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 20px;
    gap: 8px;
}

.name-badge-container h3 {
    margin: 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.member-badge {
    background-color: var(--brand-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        padding: 0;
    }

    .profile-image-container {
        margin-bottom: 15px;
    }

    .name-badge-container {
        align-items: center;
        margin-left: 0;
    }
}

/* Hide Scrollbars */
.modal-form-column {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.modal-form-column::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Update existing modal styles */
.modal-form-column {
    padding: 30px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

#updateProfileForm {
    width: 100%;
    overflow: hidden;
} 