﻿
/* Stepper Section */
.stepper-section {
    background-color: #fff;
    padding: 24px 0;
    border-bottom: 1px solid var(--webyan-border-color);
}

.stepper-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.stepper-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stepper-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--webyan-border-color);
    color: var(--webyan-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    transition: var(--webyan-transition);
}

.stepper-item.active .stepper-circle {
    background-color: var(--webyan-primary);
    color: #fff;
}

.stepper-label {
    font-size: 14px;
    color: var(--webyan-text-muted);
    font-weight: 500;
}

.stepper-item.active .stepper-label {
    color: var(--webyan-primary);
}

.stepper-line {
    width: 100px;
    height: 3px;
    background-color: var(--webyan-border-color);
    margin: 0 16px;
    margin-bottom: 24px;
}

/* Main Content */
.main-content {
    padding: 32px 0;
}

/* Donation Card */
.donation-card {
    background-color: #fff;
    border-radius: var(--webyan-card-radius);
    box-shadow: var(--webyan-shadow);
    padding: 24px;
    margin-bottom: 20px;
    transition: var(--webyan-transition);
}

    .donation-card.disabled-card {
        opacity: 0.6;
        pointer-events: none;
        position: relative;
    }

        .donation-card.disabled-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255, 255, 255, 0.5);
            border-radius: var(--webyan-card-radius);
        }

.card-title-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--webyan-text-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--webyan-light-bg);
}

    .card-title-custom i {
        color: var(--webyan-primary);
        font-size: 22px;
    }

/* Disabled Message */
.disabled-message {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(39, 196, 244, 0.1);
    border: 1px solid var(--webyan-secondary);
    color: var(--webyan-primary);
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 14px;
}

    .disabled-message i {
        font-size: 18px;
        color: var(--webyan-secondary);
    }

/* Amount Buttons */
.amount-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.btn-amount {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    border: 2px solid var(--webyan-border-color);
    border-radius: 12px;
    background-color: #fff;
    color: var(--webyan-text-dark);
    transition: var(--webyan-transition);
}

    .btn-amount:hover:not(:disabled) {
        border-color: var(--webyan-secondary);
        background-color: rgba(39, 196, 244, 0.05);
        color: var(--webyan-secondary);
    }

    .btn-amount.active {
        border-color: var(--webyan-primary);
        background-color: rgba(29, 59, 139, 0.05);
        color: var(--webyan-primary);
    }

    .btn-amount:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .btn-amount .amount-value {
        font-size: 20px;
        font-weight: 700;
    }

    .btn-amount .amount-currency {
        font-size: 12px;
        color: var(--webyan-text-muted);
    }

/* Custom Amount */
.custom-amount-wrapper {
    margin-bottom: 20px;
}

    .custom-amount-wrapper .input-group {
        border-radius: 10px;
        overflow: hidden;
    }

    .custom-amount-wrapper .input-group-text {
        background-color: var(--webyan-light-bg);
        border-color: var(--webyan-border-color);
        color: var(--webyan-text-muted);
        font-weight: 500;
    }

    .custom-amount-wrapper .form-control {
        border-color: var(--webyan-border-color);
        padding: 12px 16px;
    }

        .custom-amount-wrapper .form-control:focus {
            border-color: var(--webyan-secondary);
            box-shadow: 0 0 0 3px rgba(39, 196, 244, 0.15);
        }

    .custom-amount-wrapper .form-text {
        display: block;
        margin-top: 8px;
        color: var(--webyan-text-muted);
        font-size: 13px;
    }

/* Gift Mode Section */
.gift-mode-section {
    background-color: #fff;
    border-radius: var(--webyan-card-radius);
    box-shadow: var(--webyan-shadow);
    padding: 20px 24px;
    margin-bottom: 20px;
}

.gift-mode-check {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

    .gift-mode-check .form-check-input {
        width: 22px;
        height: 22px;
        cursor: pointer;
    }

        .gift-mode-check .form-check-input:checked {
            background-color: var(--webyan-primary);
            border-color: var(--webyan-primary);
        }

    .gift-mode-check .form-check-label {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 16px;
        font-weight: 600;
        color: var(--webyan-text-dark);
        cursor: pointer;
    }

        .gift-mode-check .form-check-label i {
            color: var(--webyan-secondary);
            font-size: 22px;
        }

/* Gift Cards Container */
.gift-cards-container {
    background-color: #fff;
    border-radius: var(--webyan-card-radius);
    box-shadow: var(--webyan-shadow);
    padding: 24px;
    margin-bottom: 20px;
    border: 2px solid var(--webyan-secondary);
}

.gift-container-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--webyan-light-bg);
}

.gift-container-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--webyan-text-dark);
    margin: 0;
}

    .gift-container-title i {
        color: var(--webyan-secondary);
        font-size: 22px;
    }

.gift-count-badge {
    background-color: var(--webyan-secondary);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Gift Card */
.gift-card {
    background-color: var(--webyan-light-bg);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--webyan-border-color);
    transition: var(--webyan-transition);
}

    .gift-card:hover {
        border-color: var(--webyan-secondary);
    }

.gift-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.gift-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--webyan-primary);
}

    .gift-card-title i {
        color: var(--webyan-secondary);
    }

.btn-remove-gift {
    background: none;
    border: none;
    color: var(--webyan-danger);
    padding: 6px 10px;
    border-radius: 8px;
    transition: var(--webyan-transition);
}

    .btn-remove-gift:hover {
        background-color: rgba(220, 53, 69, 0.1);
    }

.gift-card-body .form-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--webyan-text-dark);
    margin-bottom: 6px;
}

.gift-card-body .form-control {
    border-color: var(--webyan-border-color);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    background-color: #fff;
}

    .gift-card-body .form-control:focus {
        border-color: var(--webyan-secondary);
        box-shadow: 0 0 0 3px rgba(39, 196, 244, 0.15);
    }

.gift-card-body .input-group-text {
    background-color: #fff;
    border-color: var(--webyan-border-color);
    color: var(--webyan-text-muted);
    font-size: 13px;
}

/* Gift Amount Buttons */
.gift-amount-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.btn-gift-amount {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 10px;
    border: 2px solid var(--webyan-border-color);
    border-radius: 10px;
    background-color: #fff;
    color: var(--webyan-text-dark);
    transition: var(--webyan-transition);
}

    .btn-gift-amount:hover {
        border-color: var(--webyan-secondary);
        background-color: rgba(39, 196, 244, 0.05);
    }

    .btn-gift-amount.active {
        border-color: var(--webyan-secondary);
        background-color: rgba(39, 196, 244, 0.1);
        color: var(--webyan-primary);
    }

    .btn-gift-amount .amount-value {
        font-size: 16px;
        font-weight: 700;
    }

    .btn-gift-amount .amount-currency {
        font-size: 11px;
        color: var(--webyan-text-muted);
    }

.gift-custom-amount .input-group {
    border-radius: 8px;
    overflow: hidden;
}

.gift-custom-amount .form-control {
    background-color: #fff;
}

/* Add Gift Button */
.btn-add-gift {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background-color: transparent;
    border: 2px dashed var(--webyan-secondary);
    color: var(--webyan-secondary);
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--webyan-transition);
    margin-bottom: 16px;
}

    .btn-add-gift:hover {
        background-color: rgba(39, 196, 244, 0.1);
        color: var(--webyan-primary);
    }

/* Gift Total Summary */
.gift-total-summary {
    background-color: var(--webyan-primary);
    color: #fff;
    padding: 16px 20px;
    border-radius: 12px;
}

.total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.total-label {
    font-size: 15px;
    font-weight: 500;
}

.total-value {
    font-size: 20px;
    font-weight: 700;
}

/* Donor Card */
.donor-card {
    margin-bottom: 20px;
}

    .donor-card .form-label {
        font-size: 14px;
        font-weight: 500;
        color: var(--webyan-text-dark);
    }

    .donor-card .form-control {
        border-color: var(--webyan-border-color);
        border-radius: 8px;
        padding: 10px 14px;
    }

        .donor-card .form-control:focus {
            border-color: var(--webyan-secondary);
            box-shadow: 0 0 0 3px rgba(39, 196, 244, 0.15);
        }

    .donor-card .input-group-text {
        background-color: var(--webyan-light-bg);
        border-color: var(--webyan-border-color);
        color: var(--webyan-text-muted);
    }

/* Quick Stats */
.quick-stats {
    margin-bottom: 20px;
}

.stat-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: var(--webyan-shadow);
    padding: 20px;
    text-align: center;
    transition: var(--webyan-transition);
}

    .stat-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--webyan-shadow-hover);
    }

    .stat-card i {
        font-size: 28px;
        color: var(--webyan-secondary);
        margin-bottom: 10px;
    }

    .stat-card .stat-value {
        font-size: 22px;
        font-weight: 700;
        color: var(--webyan-text-dark);
        display: block;
        margin-bottom: 4px;
    }

    .stat-card .stat-label {
        font-size: 12px;
        color: var(--webyan-text-muted);
    }

/* Donation Action Section */
.donation-action-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-donate-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--webyan-primary);
    color: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 17px;
    transition: var(--webyan-transition);
}

    .btn-donate-main:hover {
        background-color: #152d6b;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(29, 59, 139, 0.3);
    }

.btn-add-to-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #fff;
    color: var(--webyan-primary);
    border: 2px solid var(--webyan-primary);
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--webyan-transition);
}

    .btn-add-to-cart:hover {
        background-color: var(--webyan-primary);
        color: #fff;
    }

/* Project Details Card */
.project-details-card {
    background-color: #fff;
    border-radius: var(--webyan-card-radius);
    box-shadow: var(--webyan-shadow);
    overflow: hidden;
}

.project-image-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-status-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

    .project-status-badge.available {
        background-color: var(--webyan-success);
        color: #fff;
    }

    .project-status-badge.completed {
        background-color: var(--webyan-text-muted);
        color: #fff;
    }

.project-progress-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background-color: rgba(29, 59, 139, 0.9);
    padding: 10px 18px;
    border-radius: 10px;
}

.progress-percentage {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.project-info {
    padding: 24px;
}

.project-header {
    margin-bottom: 16px;
}

.project-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--webyan-text-dark);
    margin-bottom: 8px;
}

.project-id {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--webyan-text-muted);
}

    .project-id i {
        color: var(--webyan-secondary);
    }

.project-description {
    color: var(--webyan-text-muted);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
}

/* Progress Section */
.project-progress-section {
    margin-bottom: 24px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.progress-label {
    font-size: 14px;
    color: var(--webyan-text-muted);
}

.progress-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--webyan-primary);
}

.progress {
    height: 10px;
    border-radius: 10px;
    background-color: var(--webyan-light-bg);
}

.progress-bar {
    background: linear-gradient(90deg, var(--webyan-primary), var(--webyan-secondary));
    border-radius: 10px;
}

/* Project Stats Grid */
.project-stats-grid {
    margin-bottom: 24px;
}

.project-stat-item {
    background-color: var(--webyan-light-bg);
    padding: 16px;
    border-radius: 10px;
    text-align: center;
    height: 100%;
}

    .project-stat-item .stat-title {
        display: block;
        font-size: 12px;
        color: var(--webyan-text-muted);
        margin-bottom: 6px;
    }

    .project-stat-item .stat-amount {
        font-size: 14px;
        font-weight: 600;
        color: var(--webyan-text-dark);
    }

        .project-stat-item .stat-amount.highlight {
            color: var(--webyan-primary);
        }

/* Partner Section */
.partner-section {
    border-top: 1px solid var(--webyan-border-color);
    padding-top: 20px;
}

.partner-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--webyan-text-muted);
    margin-bottom: 12px;
}

.partner-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--webyan-light-bg);
    padding: 16px;
    border-radius: 12px;
}

.partner-logo {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.partner-info {
    flex: 1;
}

.partner-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--webyan-text-dark);
    margin-bottom: 4px;
}

.partner-link {
    font-size: 13px;
    color: var(--webyan-secondary);
    text-decoration: none;
}

    .partner-link:hover {
        text-decoration: underline;
    }

.disabled:hover{
    cursor:not-allowed;
}
.creative-toggle-card {
    border: 2px solid transparent;
    border-radius: 12px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.creative-toggle-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.creative-toggle-card.recurring-active {
    border-color: #0c63e4;
    background: linear-gradient(145deg, #f0f7ff, #ffffff);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

.creative-toggle-card.gift-active {
    border-color: #d63384;
    background: linear-gradient(145deg, #fff0f6, #ffffff);
    box-shadow: 0 0 0 4px rgba(232, 62, 140, 0.1);
}

.icon-wrapper-recurring {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.icon-wrapper-gift {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(232, 62, 140, 0.1);
    color: #e83e8c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.creative-toggle-card.recurring-active .icon-wrapper-recurring {
    background: #0d6efd;
    color: white;
}

.creative-toggle-card.gift-active .icon-wrapper-gift {
    background: #e83e8c;
    color: white;
}

.options-slide-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1.05, 0, 1), opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

    .options-slide-container.show {
        max-height: 600px;
        opacity: 1;
        visibility: visible;
    }

.premium-input-group .form-control {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    background-color: #fff;
    transition: all 0.2s;
}

    .premium-input-group .form-control:focus {
        border-color: #e83e8c;
        box-shadow: 0 0 0 3px rgba(232, 62, 140, 0.1);
        background-color: #fff;
    }

.premium-input-group .input-group-text {
    border: 1px solid #e2e8f0;
    background-color: #f8f9fa;
}

.gift-form-wrapper {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #f1f3f5;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    position: relative;
}

.recurring-select-custom {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border-color: #cce5ff;
    background-color: #f8fbff;
    color: #004085;
    font-weight: 500;
}

    .recurring-select-custom:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
    }

[dir="rtl"] .me-3 {
    margin-left: 1rem !important;
    margin-right: 0 !important;
}

[dir="rtl"] .ms-2 {
    margin-right: 0.5rem !important;
    margin-left: 0 !important;
}


