﻿:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #ec4899;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --card-shadow: 0 20px 60px rgba(99, 102, 241, 0.15);
    --card-hover: 0 25px 70px rgba(99, 102, 241, 0.25);
    --border-color: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --transition-smooth: all 0.3s ease;
    --transition-bounce: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.quote-container {
    direction: ltr;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}


.page-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

    .page-header h2 {
        font-size: 3rem;
        font-weight: 800;
        background: var(--bg-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 10px;
        animation: fadeInDown 0.6s ease-out;
    }

    .page-header p {
        color: var(--text-muted);
        font-size: 1.1rem;
        animation: fadeInUp 0.6s ease-out 0.2s both;
    }


.package-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--card-shadow);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    animation: slideInLeft 0.6s ease-out;
    height: max-content;
}

    .package-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: var(--bg-gradient);
    }

    .package-card:hover {
        box-shadow: var(--card-hover);
        transform: translateY(-5px);
    }


.package-header {
    margin-bottom: 24px;
}

.package-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.package-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}


.price-badge {
    background: var(--bg-gradient);
    color: white;
    padding: 16px 24px;
    border-radius: 16px;
    margin: 20px 0;
    text-align: center;
}

    .price-badge .label {
        font-size: 0.9rem;
        opacity: 0.9;
    }

    .price-badge .amount {
        font-size: 1.75rem;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
    }


.info-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

    .info-row:last-child {
        border-bottom: none;
    }

.info-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

    .info-icon svg {
        width: 20px;
        height: 20px;
        stroke: white;
    }


.package-content {
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.5s ease;
    position: relative;
}

    .package-content.expanded {
        max-height: 3000px;
    }

    .package-content::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 80px;
        background: linear-gradient(to bottom, transparent, white);
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .package-content.expanded::after {
        opacity: 0;
    }


.feature-section {
    margin-top: 24px;
}

.feature-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

    .feature-title::before {
        content: '';
        width: 4px;
        height: 20px;
        background: var(--bg-gradient);
        margin-right: 10px;
        border-radius: 2px;
    }

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    text-align: left;
    flex-wrap: wrap;
}

    .feature-list li {
        padding: 8px 0 8px 32px;
        position: relative;
        color: var(--text-secondary);
        font-size: 0.9rem;
    }

        .feature-list li::before {
            content: '✓';
            position: absolute;
            left: 8px;
            color: var(--success-color);
            font-weight: bold;
            font-size: 1.1rem;
        }


.show-more-btn {
    width: 100%;
    padding: 12px;
    background: var(--bg-gradient);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

    .show-more-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    }

    .show-more-btn svg {
        width: 20px;
        height: 20px;
        transition: transform 0.3s ease;
    }

    .show-more-btn.expanded svg {
        transform: rotate(180deg);
    }


.form-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--card-shadow);
    animation: slideInRight 0.6s ease-out;
}


.form-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

    .form-section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 4px;
        background: var(--bg-gradient);
        border-radius: 2px;
    }


.form-label {
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
    font-size: 0.95rem;
    display: block;
}

    .form-label.required::after {
        content: ' *';
        color: var(--danger-color);
    }

.form-control,
.form-select {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 0 15px;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
    height: 55px !important;
}

textarea.form-control {
    height: auto !important;
    padding: 12px 15px;
    min-height: 100px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    outline: none;
}

input[type="color"] {
    padding: 5px !important;
    cursor: pointer;
}

.form-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 6px;
}

.section-divider {
    margin: 32px 0;
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
}


.addon-section {
    background: var(--bg-light);
    padding: 10px;
    border-radius: 16px;
    margin: 24px 0;
}

.addon-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .addon-title svg {
        stroke: var(--primary-color);
        color: var(--primary-color);
    }


.addon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    margin-top: 16px;
    max-height: 220px;
    overflow: hidden;
    transition: max-height 0.5s ease;
    position: relative;
}

    .addon-grid.expanded {
        max-height: 2000px;
    }

    .addon-grid::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 80px;
        background: linear-gradient(to bottom, transparent, var(--bg-light));
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .addon-grid.expanded::after {
        opacity: 0;
    }

.addon-grid2 {
    max-height: max-content !important;
}

    .addon-grid2::after {
        content: none;
    }


.addon-item {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    transition: var(--transition-smooth);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
}

    .addon-item:hover {
        border-color: var(--primary-color);
        background: var(--bg-light);
    }

    .addon-item input[type="checkbox"] {
        width: 20px;
        height: 20px;
        cursor: pointer;
        flex-shrink: 0;
    }

    .addon-item label {
        cursor: pointer;
        margin: 0;
        flex: 1;
        font-size: 0.9rem;
        color: #334155;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.addon-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.85rem;
}

.selection-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.btn-select-action {
    background: white;
    border: 2px solid var(--border-color) !important;
    padding: 8px 16px;
    border-radius: 8px;
    color: #334155;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

    .btn-select-action:hover {
        border-color: var(--primary-color);
        background: var(--bg-light);
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    }

    .btn-select-action svg {
        width: 16px;
        height: 16px;
        stroke: currentColor;
        transition: transform 0.3s ease;
    }

    .btn-select-action:hover svg {
        transform: scale(1.1);
    }

    .btn-select-action.btn-deselect {
        border-color: #fee2e2;
        color: #dc2626;
    }

        .btn-select-action.btn-deselect:hover {
            border-color: var(--danger-color);
            background: #fef2f2;
            box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
        }

.price-display {
    background: var(--bg-gradient);
    color: white;
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    margin: 32px 0;
    position: relative;
    overflow: hidden;
}

    .price-display::before {
        content: '💎';
        position: absolute;
        font-size: 100px;
        opacity: 0.1;
        top: -20px;
        right: -20px;
    }

    .price-display h5 {
        font-size: 1.1rem;
        margin-bottom: 8px;
        font-weight: 600;
        opacity: 0.95;
    }

    .price-display .total-amount {
        font-size: 3rem;
        font-weight: 800;
        margin: 8px 0;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }


.plan-details {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

    .plan-details ul {
        margin: 0.5rem 0 0 0;
        padding-left: 1.5rem;
    }

    .plan-details li {
        margin: 0.25rem 0;
    }

.feature-icon {
    margin-right: 0.25rem;
}


.form-check {
    padding: 16px;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 24px;
}

.form-check-input {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    margin-top: 2px;
    margin-left: 0 !important;
}

    .form-check-input:checked {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
    }

.form-check-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-left: 8px;
}

    .form-check-label a {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 600;
    }

        .form-check-label a:hover {
            text-decoration: underline;
        }


.submit-btn {
    background: var(--bg-gradient);
    border: none;
    padding: 16px 48px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

    .submit-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.5s ease;
    }

    .submit-btn:hover::before {
        left: 100%;
    }

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
    }


.file-input-wrapper {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: var(--transition-smooth);
    cursor: pointer;
}

    .file-input-wrapper:hover {
        border-color: var(--primary-color);
        background: var(--bg-light);
    }

    .file-input-wrapper input[type="file"] {
        display: none;
    }

.uploaded-files-list {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-light);
    padding: 12px 16px;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    transition: var(--transition-smooth);
}

    .file-item:hover {
        border-color: var(--primary-color);
        background: white;
    }

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.file-icon {
    font-size: 1.5rem;
}

.file-details {
    display: flex;
    flex-direction: column;
}

.file-name {
    font-weight: 600;
    color: #334155;
    font-size: 0.9rem;
}

.file-size {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.btn-remove-file {
    background: var(--danger-color);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

    .btn-remove-file:hover {
        background: #dc2626;
        transform: translateY(-2px);
    }

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


@media (max-width: 992px) {
    .page-header h2 {
        font-size: 2rem;
    }

    .form-card {
        padding: 24px 15px;
    }

    .package-card {
        margin-bottom: 30px;
    }

    .addon-grid {
        grid-template-columns: 1fr;
    }
}


.checkbox-item {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

    .checkbox-item:hover {
        border-color: var(--primary-color);
        background: white;
    }

    .checkbox-item input[type="checkbox"] {
        width: 20px;
        height: 20px;
        cursor: pointer;
    }

    .checkbox-item label {
        cursor: pointer;
        margin: 0;
        flex: 1;
        font-size: 0.9rem;
        color: #334155;
    }

.url-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.url-input-item {
    display: flex;
    gap: 8px;
    align-items: center;
}

    .url-input-item input {
        flex: 1;
    }

.btn-add, .btn-remove {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-add {
    background: var(--bg-gradient);
    color: white;
}

.btn-remove {
    background: #ef4444;
    color: white;
}

    .btn-add:hover, .btn-remove:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

.color-picker-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 8px;
}

    .color-picker-wrapper input[type="color"] {
        width: 60px;
        height: 45px;
        border: 2px solid #e2e8f0;
        border-radius: 8px;
        cursor: pointer;
    }

.color-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.color-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    padding: 6px 12px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
}

.color-preview {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
}
@media screen and (max-width : 1400px){
    .swal2-toast div:where(.swal2-html-container){
        margin:0 !important;
    }
}