/* ============================================
   MODAL STYLES - COTT MODAL
============================================ */

.cott-modal .modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    border: none;
    border-radius: 28px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.dark-mode .cott-modal .modal-content {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

/* Modal Header */
.cott-modal .modal-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1.25rem 1.75rem;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dark-mode .cott-modal .modal-header {
    background: rgba(30, 41, 59, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.cott-modal .modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
}

.cott-modal .modal-title {
    font-weight: 700;
    font-size: 1.35rem;
    margin: 0;
    color: #1e293b;
}

.dark-mode .cott-modal .modal-title {
    color: #f1f5f9;
}

.cott-modal .modal-title i {
    color: #6366f1;
    margin-right: 8px;
}

/* Close Button */
.cott-modal .btn-close {
    background: #f1f5f9;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.2s ease;
    font-size: 24px;
    line-height: 1;
    color: #1e293b;
    border: none;
    cursor: pointer;
}

.dark-mode .cott-modal .btn-close {
    background: #334155;
    color: #f1f5f9;
}

.cott-modal .btn-close:hover {
    opacity: 1;
    background: #e2e8f0;
    transform: rotate(90deg);
}

.dark-mode .cott-modal .btn-close:hover {
    background: #475569;
}

/* Modal Body */
.cott-modal .modal-body {
    padding: 1.75rem;
    max-height: 70vh;
    overflow-y: auto;
}

/* Modal Footer Buttons */
.cott-modal .modal-footer-buttons {
    padding: 1rem 1.75rem 1.75rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    border-top: none;
}

/* Form Elements */
.cott-modal .form-group {
    margin-bottom: 1.25rem;
}

.cott-modal .form-label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.dark-mode .cott-modal .form-label {
    color: #f1f5f9;
}

.cott-modal .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #1e293b;
}

.dark-mode .cott-modal .form-control {
    background: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
}

.cott-modal .form-control:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.cott-modal textarea.form-control {
    resize: vertical;
}

/* Checkbox Label */
.cott-modal .checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 0.5rem;
}

.dark-mode .cott-modal .checkbox-label {
    color: #cbd5e1;
}

.cott-modal .checkbox-label input {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #6366f1;
}

/* Buttons */
.cott-modal .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.cott-modal .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px -5px #6366f1;
}

.cott-modal .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f1f5f9;
    color: #1e293b;
}

.dark-mode .cott-modal .btn-secondary {
    background: #334155;
    color: #f1f5f9;
}

.cott-modal .btn-secondary:hover {
    background: #e2e8f0;
}

.dark-mode .cott-modal .btn-secondary:hover {
    background: #475569;
}

/* Notifications */
.cott-modal .notification-success {
    background: #10b981;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.cott-modal .notification-error {
    background: #ef4444;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.cott-modal .info-alert {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Form Section Title */
.cott-modal .form-section-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
    color: #1e293b;
}

.dark-mode .cott-modal .form-section-title {
    border-bottom-color: #334155;
    color: #f1f5f9;
}

/* Package Picker Grid - 4 columns on desktop */
.cott-modal .package-picker-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.cott-modal .package-picker-card {
    background: linear-gradient(135deg, #1f3554, #15263d);
    border-radius: 20px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.cott-modal .package-picker-card.package-premium {
    background: linear-gradient(135deg, #5b2dd1, #2f1f74);
}

.cott-modal .package-picker-card.package-elite {
    background: linear-gradient(135deg, #198754, #0f5132);
}

.cott-modal .package-picker-card.package-featured {
    background: linear-gradient(135deg, #8a4b08, #5c2f00);
}

.cott-modal .package-picker-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.cott-modal .package-picker-card.active {
    border: 2px solid #ffffff;
    transform: scale(1.02);
}

.cott-modal .package-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.25);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    color: white;
}

.cott-modal .package-icon {
    font-size: 42px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.cott-modal .package-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
    color: white;
}

.cott-modal .package-price {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffd54f;
}

.cott-modal .package-subtitle {
    font-size: 11px;
    opacity: 0.8;
    margin-bottom: 15px;
    color: white;
}

.cott-modal .package-action {
    margin-top: auto;
}

.cott-modal .package-select-btn {
    width: 100%;
    padding: 10px;
    border-radius: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.cott-modal .package-select-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.cott-modal .package-select-btn.selected {
    background: white;
    color: #1e293b;
}

/* Business Details Form - 4 columns layout */
.cott-modal .business-details-form .row {
    margin: 0 -10px;
}

.cott-modal .business-details-form [class*="col-"] {
    padding: 0 10px;
}

/* Hours Card */
.cott-modal .hours-card {
    background: var(--bg-primary);
    padding: 1rem;
    border-radius: 16px;
    margin-top: 0.5rem;
    border: 1px solid var(--border);
}

.dark-mode .cott-modal .hours-card {
    background: var(--bg-secondary);
}

.cott-modal .hours-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Option Card */
.cott-modal .option-card {
    background: rgba(99, 102, 241, 0.05);
    padding: 1rem;
    border-radius: 12px;
    border-left: 3px solid #6366f1;
}

/* File Preview */
.cott-modal .current-file {
    margin-top: 12px;
    padding: 10px;
    background: #f8fafc;
    border-radius: 12px;
}

.dark-mode .cott-modal .current-file {
    background: #334155;
}

.cott-modal .current-file label {
    font-size: 0.7rem;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.cott-modal .file-preview {
    max-width: 100px;
    max-height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.cott-modal .file-preview.new {
    border: 2px solid #6366f1;
}

.cott-modal .new-preview {
    margin-top: 12px;
    padding: 10px;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 12px;
}

.cott-modal .new-preview label {
    font-size: 0.7rem;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    color: #6366f1;
}

/* Info Box */
.cott-modal .info-box {
    background: #f8fafc;
    padding: 20px;
    border-radius: 16px;
}

.dark-mode .cott-modal .info-box {
    background: #334155;
}

.cott-modal .info-box h5 {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.cott-modal .info-box p {
    margin: 6px 0;
    font-size: 13px;
    color: var(--text-secondary);
}

/* Document Preview */
.cott-modal .document-preview {
    margin-top: 20px;
}

.cott-modal .doc-image {
    max-width: 100%;
    max-height: 400px;
    border-radius: 12px;
    object-fit: contain;
}

.cott-modal .doc-iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 12px;
}

/* Text Utilities */
.cott-modal .text-danger {
    color: #ef4444;
}

.cott-modal .text-muted {
    color: #64748b;
    font-size: 0.7rem;
}

.dark-mode .cott-modal .text-muted {
    color: #94a3b8;
}

/* Modal Dialog Sizes */
.cott-modal .modal-dialog.modal-xl {
    max-width: 1400px;
    width: 95%;
}

.cott-modal .modal-dialog.modal-lg {
    max-width: 1000px;
    width: 90%;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .cott-modal .package-picker-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cott-modal .modal-dialog {
        margin: 10px;
    }
    .cott-modal .modal-body {
        padding: 1rem;
        max-height: 80vh;
    }
    .cott-modal .modal-header {
        padding: 1rem;
    }
    .cott-modal .modal-footer-buttons {
        padding: 1rem;
    }
    .cott-modal .package-picker-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .cott-modal .business-details-form [class*="col-"] {
        padding: 0 5px;
    }
    .cott-modal .row {
        margin: 0 -5px;
    }
}

/* Scrollbar Styling */
.cott-modal .modal-body::-webkit-scrollbar {
    width: 6px;
}

.cott-modal .modal-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.dark-mode .cott-modal .modal-body::-webkit-scrollbar-track {
    background: #1e293b;
}

.cott-modal .modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 10px;
}
/* Package Feature List in Modals */
.cott-modal .package-feature-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    text-align: left;
}

.cott-modal .package-feature-list li {
    font-size: 11px;
    padding: 4px 0;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 6px;
}

.cott-modal .package-feature-list li i {
    font-size: 10px;
    color: #ffd54f;
}

/* Option Card */
.cott-modal .option-card {
    background: rgba(99, 102, 241, 0.05);
    padding: 1rem;
    border-radius: 12px;
    border-left: 3px solid #6366f1;
    margin-bottom: 1rem;
}

/* Dark mode adjustments */
.dark-mode .cott-modal .option-card {
    background: rgba(129, 140, 248, 0.1);
}

/* Business Info Box */
.cott-modal .business-info-box {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 15px;
}

.dark-mode .cott-modal .business-info-box {
    background: var(--bg-secondary);
}
/* Package Card Styles */
/* Package Item Styles - Use these classes */
.package-item {
    background: linear-gradient(135deg, #1f3554, #15263d);
    border-radius: 20px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.package-item.package-active {
    border-color: #ffffff;
    transform: scale(1.02);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.2);
}

/* Package colors */
.package-item[ng-repeat*="Basic"] { background: linear-gradient(135deg, #1f3554, #15263d); }
.package-item[ng-repeat*="Premium"] { background: linear-gradient(135deg, #5b2dd1, #2f1f74); }
.package-item[ng-repeat*="Elite"] { background: linear-gradient(135deg, #198754, #0f5132); }
.package-item[ng-repeat*="Featured"] { background: linear-gradient(135deg, #8a4b08, #5c2f00); }

.package-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,0.25);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    color: white;
}

.package-icon {
    font-size: 42px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.9);
}

.package-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.package-price {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #ffd54f;
}

.package-duration {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
}

.package-features-list {
    flex: 1;
    text-align: left;
    margin-bottom: 15px;
    min-height: 80px;
}

.package-features-list div {
    font-size: 11px;
    padding: 4px 0;
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 6px;
}

.package-features-list div i {
    font-size: 10px;
    color: #ffd54f;
}

.more-features {
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    margin-top: 5px;
    font-style: italic;
}

.package-select-btn {
    width: 100%;
    padding: 8px;
    border-radius: 25px;
    border: none;
    background: rgba(255,255,255,0.2);
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.package-select-btn:hover {
    background: rgba(255,255,255,0.3);
}

.package-select-btn.selected {
    background: white;
    color: #1e293b;
}

/* File Preview Styles */
.current-file, .new-preview {
    margin-top: 10px;
    padding: 10px;
    background: #f8fafc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dark-mode .current-file {
    background: #334155;
}

.file-preview {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.file-preview.new {
    border: 2px solid #6366f1;
}

.file-name {
    font-size: 11px;
    color: #64748b;
    word-break: break-all;
}

.dark-mode .file-name {
    color: #94a3b8;
}

/* Business Details Section */
.business-details-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.dark-mode .business-details-section {
    border-top-color: #334155;
}

/* Info Alert */
.info-alert {
    padding: 12px 15px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 992px) {
    .package-item {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .package-item {
        margin-bottom: 15px;
    }
}


/* File Preview Styles */
.current-file, .new-preview {
    margin-top: 10px;
    padding: 10px;
    background: var(--bg-primary);
    border-radius: 8px;
}

.dark-mode .current-file {
    background: var(--bg-secondary);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.file-name {
    font-size: 11px;
    color: var(--text-secondary);
    word-break: break-all;
}

.file-preview {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.file-preview.new {
    border: 2px solid #6366f1;
}

/* Option Card */
.option-card {
    background: rgba(99, 102, 241, 0.05);
    padding: 15px;
    border-radius: 12px;
    border-left: 3px solid #6366f1;
    margin-bottom: 15px;
}

/* Business Details Section */
.business-details-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

/* Profile Photo Preview */
.profile-photo-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.profile-photo-preview.new {
    border-color: #6366f1;
}

.profile-photo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto;
}

/* Hours Card */
.hours-card {
    background: var(--bg-primary);
    padding: 15px;
    border-radius: 16px;
    margin-bottom: 15px;
    border: 1px solid var(--border);
}

.dark-mode .hours-card {
    background: var(--bg-secondary);
}

.hours-card h5 {
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
    .package-card {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .package-card {
        margin-bottom: 15px;
    }
}

/* Password wrapper for eye icon */
.password-wrapper {
    position: relative;
}

.password-wrapper .form-control {
    padding-right: 40px;
}

.password-wrapper .toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    z-index: 10;
}

.password-wrapper .toggle-password:hover {
    color: #4F46E5;
}

/* Profile Photo Modal Styles */
.crop-container {
    width: 100%;
    height: 300px;
    background: #f5f5f5;
    overflow: hidden;
}

.crop-container img {
    max-width: 100%;
    display: block;
}

.current-circle,
.preview-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: auto;
    border: 3px solid #ddd;
}

.current-circle img,
.preview-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}








/* Wizard Steps */
.wizard-steps {
    display: flex;
    background: #f8fafc;
    padding: 15px 25px;
    border-bottom: 1px solid #e2e8f0;
}

.wizard-steps .step {
    flex: 1;
    text-align: center;
    position: relative;
}

.wizard-steps .step:not(:last-child):before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #cbd5e1;
    z-index: 1;
}

.wizard-steps .step.completed:not(:last-child):before {
    background: #10b981;
}

.step-number {
    width: 30px;
    height: 30px;
    background: #cbd5e1;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    position: relative;
    z-index: 2;
    margin-bottom: 5px;
    color: #475569;
}

.wizard-steps .step.active .step-number {
    background: #4F46E5;
    color: white;
}

.wizard-steps .step.completed .step-number {
    background: #10b981;
    color: white;
}

.step-label {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
}

.wizard-steps .step.active .step-label {
    color: #4F46E5;
}



/* Compact wizard & step clickable */
.wizard-steps {
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    cursor: pointer;
}
.wizard-steps .step {
    flex: 1;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
}
.wizard-steps .step .step-number {
    width: 36px;
    height: 36px;
    background: #cbd5e1;
    color: #1e293b;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 6px;
    transition: all 0.2s;
}
.wizard-steps .step.active .step-number {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.3);
}
.wizard-steps .step.completed .step-number {
    background: var(--success);
    color: white;
}
.wizard-steps .step.completed .step-number::after {
    content: "✓";
    font-size: 14px;
}
.wizard-steps .step .step-label {
    font-size: 12px;
    font-weight: 500;
    color: #475569;
}
.wizard-steps .step.active .step-label {
    color: var(--primary);
    font-weight: 600;
}
/* footer equal buttons + left alert */
.modal-footer-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e2e8f0;
    background: #fff;
    gap: 1rem;
}
.modal-footer-buttons .info-alert {
    margin: 0;
    flex: 1;
    font-size: 13px;
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.modal-footer-buttons .btn-primary,
.modal-footer-buttons .btn-secondary {
    min-width: 150px;
    text-align: center;
}
/* payment methods row */
.payment-methods-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0 16px;
}
.payment-method-btn {
    flex: 1;
    padding: 12px 8px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}
.payment-method-btn i {
    font-size: 28px;
    display: block;
    margin-bottom: 6px;
}
.payment-method-btn.active {
    border-color: var(--primary);
    background: #eef2ff;
    color: var(--primary);
}
/* amount verify card */
.amount-verify-card {
    background: #fefce8;
    border-left: 4px solid var(--warning);
    padding: 16px;
    border-radius: 16px;
    margin: 16px 0;
}
/* step clickable edit mode */
.wizard-steps .step {
    cursor: pointer;
}
/* compact detail rows */
.form-section-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}
.row.g-3 {
    margin-bottom: 8px;
}
/* upgrade info */
.upgrade-info-box {
    background: #e0f2fe;
    border-radius: 12px;
    padding: 12px;
    margin: 12px 0;
    font-size: 14px;
}
/* Clickable steps only in edit mode */
.wizard-steps .step.clickable {
    cursor: pointer;
}
.wizard-steps .step.clickable:hover .step-number {
    transform: scale(1.05);
    transition: transform 0.2s;
}
.wizard-steps .step:not(.clickable) {
    cursor: default;
}

/* Payment methods styling */
.payment-methods-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0 16px;
}
.payment-method-btn {
    flex: 1;
    padding: 12px 8px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}
.payment-method-btn i {
    font-size: 28px;
    display: block;
    margin-bottom: 6px;
}
.payment-method-btn.active {
    border-color: #6366f1;
    background: #eef2ff;
}
.payment-method-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Amount verification styles */
.amount-verify-card .is-valid {
    border-color: #10b981;
    background-color: #f0fdf4;
}
.amount-verify-card .is-invalid {
    border-color: #ef4444;
    background-color: #fef2f2;
}
.amount-feedback {
    margin-top: 6px;
    font-size: 13px;
}

/* Method details */
.method-details .info-alert {
    background: #f8fafc;
    padding: 16px;
    border-radius: 12px;
    border-left: 4px solid #6366f1;
}



/* Package Info Bar */
.package-info-bar {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 10px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.change-link {
    background: none;
    border: none;
    color: white;
    text-decoration: underline;
    cursor: pointer;
}

/* Payment Summary Card */
.payment-summary-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.payment-summary-card h5 {
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
}

.summary-item.total {
    border-top: 1px solid #e2e8f0;
    margin-top: 5px;
    padding-top: 8px;
    font-weight: bold;
}

/* Amount Verification Card */
.amount-verify-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.amount-verify-card label {
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    color: #4F46E5;
}

.amount-input {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
}

.amount-input.invalid {
    border-color: #dc2626;
    background: #fef2f2;
}

.amount-input.valid {
    border-color: #10b981;
    background: #ecfdf5;
}

.amount-feedback {
    font-size: 11px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #dc2626;
}

.amount-feedback.success {
    color: #10b981;
}

.amount-feedback.info {
    color: #64748b;
}

/* Payment Methods Grid */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-option i:first-child {
    font-size: 24px;
}

.payment-option div {
    flex: 1;
}

.payment-option small {
    display: block;
    font-size: 10px;
    color: #64748b;
}

.payment-option.active {
    background: #4F46E5;
    border-color: #4F46E5;
    color: white;
}

.payment-option.active small {
    color: rgba(255,255,255,0.8);
}

.payment-option i:last-child {
    margin-left: auto;
    color: #10b981;
}

/* Payment Form */
.payment-form {
    margin-top: 15px;
}

.btn-pay {
    width: 100%;
    padding: 12px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.bank-info {
    background: #f1f5f9;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 12px;
    font-size: 12px;
    text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
    .payment-methods-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .payment-methods-grid {
        grid-template-columns: 1fr;
    }
    .wizard-steps {
        padding: 10px;
    }
    .step-label {
        font-size: 9px;
    }
}

/* Amount Verification Styles */
.amount-verify-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.amount-verify-card label {
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    color: #4F46E5;
}

.amount-input {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
}

.amount-input.invalid {
    border-color: #dc2626;
    background: #fef2f2;
}

.amount-input.valid {
    border-color: #10b981;
    background: #ecfdf5;
}

.amount-feedback {
    font-size: 11px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #dc2626;
}

.amount-feedback.success {
    color: #10b981;
}

.amount-feedback.info {
    color: #64748b;
}

/* Payment Methods Grid */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-option i:first-child {
    font-size: 24px;
}

.payment-option div {
    flex: 1;
}

.payment-option small {
    display: block;
    font-size: 10px;
    color: #64748b;
}

.payment-option.active {
    background: #4F46E5;
    border-color: #4F46E5;
    color: white;
}

.payment-option.active small {
    color: rgba(255,255,255,0.8);
}

.payment-option i:last-child {
    margin-left: auto;
    color: #10b981;
}

/* Payment Form */
.payment-form {
    margin-top: 15px;
}

.btn-pay {
    width: 100%;
    padding: 12px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.btn-pay:hover:not(:disabled) {
    background: #059669;
}

.btn-pay:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.bank-info {
    background: #f1f5f9;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 12px;
    font-size: 12px;
    text-align: center;
}

/* Wizard Steps */
.wizard-steps {
    display: flex;
    background: #f8fafc;
    padding: 15px 25px;
    border-bottom: 1px solid #e2e8f0;
}

.wizard-steps .step {
    flex: 1;
    text-align: center;
    position: relative;
}

.wizard-steps .step:not(:last-child):before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #cbd5e1;
    z-index: 1;
}

.wizard-steps .step.completed:not(:last-child):before {
    background: #10b981;
}

.step-number {
    width: 30px;
    height: 30px;
    background: #cbd5e1;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    position: relative;
    z-index: 2;
    margin-bottom: 5px;
    color: #475569;
}

.wizard-steps .step.active .step-number {
    background: #4F46E5;
    color: white;
}

.wizard-steps .step.completed .step-number {
    background: #10b981;
    color: white;
}

.step-label {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
}

.wizard-steps .step.active .step-label {
    color: #4F46E5;
}

.package-info-bar {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 10px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.change-link {
    background: none;
    border: none;
    color: white;
    text-decoration: underline;
    cursor: pointer;
}

.payment-summary-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.payment-summary-card h5 {
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
}

.summary-item.total {
    border-top: 1px solid #e2e8f0;
    margin-top: 5px;
    padding-top: 8px;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 992px) {
    .payment-methods-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .payment-methods-grid {
        grid-template-columns: 1fr;
    }
    .wizard-steps {
        padding: 10px;
    }
    .step-label {
        font-size: 9px;
    }
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    z-index: 9999;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}




/* Square preview for logo cropping */
.preview-square {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid #6366f1;
    background: #f8fafc;
}

.preview-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.crop-container {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    background: #f1f5f9;
    border-radius: 12px;
}

.crop-container img {
    max-width: 100%;
    display: block;
}

/* 5-step wizard */
.wizard-steps .step {
    flex: 1;
}
/* ============================================
   BLOG LIKE/DISLIKE BUTTONS - FIXED
   ============================================ */

/* Blog Stats Container */
.blog-stats {
    display: flex;
    gap: 12px;
    margin: 12px 0;
    padding: 8px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* Blog Like Badge */
.blog-like-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Blog Dislike Badge */
.blog-dislike-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Modal Like/Dislike Buttons */
.blog-actions-modal {
    margin-top: 20px;
    padding-top: 15px;
}

.btn-blog-like {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-blog-like:hover {
    background: #10b981;
    color: white;
    transform: translateY(-2px);
}

.btn-blog-like.active {
    background: #10b981;
    color: white;
    border-color: #10b981;
}

.btn-blog-dislike {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-blog-dislike:hover {
    background: #ef4444;
    color: white;
    transform: translateY(-2px);
}

.btn-blog-dislike.active {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
}

/* Dark Mode Support */
.dark-mode .blog-like-badge {
    background: rgba(16, 185, 129, 0.2);
}

.dark-mode .blog-dislike-badge {
    background: rgba(239, 68, 68, 0.2);
}

.dark-mode .btn-blog-like {
    background: rgba(16, 185, 129, 0.2);
}

.dark-mode .btn-blog-dislike {
    background: rgba(239, 68, 68, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .blog-stats {
        gap: 8px;
    }
    
    .blog-like-badge,
    .blog-dislike-badge {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .btn-blog-like,
    .btn-blog-dislike {
        padding: 8px 20px;
        font-size: 13px;
    }
}
/* Terms Modal Styles */
.terms-modal-body .terms-section {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.terms-modal-body .terms-section h6 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
}

.terms-modal-body .terms-section p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.terms-modal-body .terms-footer {
    margin-top: 15px;
    padding-top: 10px;
}

.terms-checkbox-wrapper {
    padding: 10px 0;
}

.terms-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.terms-checkbox-text {
    font-size: 13px;
    color: var(--text-primary);
}

.terms-already-accepted {
    padding: 10px;
    background: var(--success-light);
    border-radius: 8px;
    color: var(--success);
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
    border-radius: 0 0 12px 12px;
}
/* Terms Modal Styles */
.terms-notification {
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    position: relative;
}

.terms-notification.error {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.terms-notification.success {
    background: #d1fae5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.terms-notification i {
    font-size: 18px;
}

.close-notification {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    margin-left: auto;
    color: inherit;
    opacity: 0.7;
}

.close-notification:hover {
    opacity: 1;
}

.terms-loading {
    padding: 10px;
    text-align: center;
    background: #eef2ff;
    border-radius: 8px;
    margin-bottom: 15px;
    color: #4f46e5;
}

.terms-checkbox-wrapper {
    margin-bottom: 20px;
}

.terms-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.terms-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
}

.terms-checkbox-text {
    font-size: 13px;
    color: #1e293b;
}

.terms-already-accepted {
    padding: 12px;
    background: #d1fae5;
    border-radius: 8px;
    color: #059669;
    text-align: center;
}

.terms-already-accepted i {
    margin-right: 8px;
}

.terms-section {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.terms-section h6 {
    font-size: 14px;
    font-weight: 600;
    color: #4f46e5;
    margin-bottom: 5px;
}

.terms-section p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.terms-footer {
    margin-top: 15px;
    padding-top: 10px;
}

/* Dark mode support */
body.dark-mode .terms-checkbox-text {
    color: #e2e8f0;
}

body.dark-mode .terms-section {
    border-bottom-color: #334155;
}

body.dark-mode .terms-section p {
    color: #94a3b8;
}

body.dark-mode .terms-loading {
    background: #1e293b;
    color: #818cf8;
}