﻿.donate-container {
    width: 100%;
    max-width: 900px;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 40px;
}

    .donate-container header {
        text-align: center;
        margin-bottom: 40px;
    }

    .donate-container h1 {
        color: #2c3e50;
        margin-bottom: 10px;
        font-size: 2.2rem;
    }

.donate-subtitle {
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* Progress Steps Container */
.donate-progress-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Progress Bar */
.donate-progress-bar {
    position: absolute;
    top: 25px;
    left: auto;
    right: 0;
    height: 4px;
    width: 100%;
    background-color: #e0e0e0;
    z-index: 1;
}

[dir='ltr'] .donate-progress-bar {
    position: absolute;
    top: 25px;
    right: auto;
    left: 0;
    height: 4px;
    width: 100%;
    background-color: #e0e0e0;
    z-index: 1;
}

.donate-progress {
    position: absolute;
    top: 25px;
    right: 0;
    left: auto;
    height: 4px;
    width: 0%;
    background-color: #047a6996;
    z-index: 2;
    transition: width 0.5s ease;
}

[dir='ltr'] .donate-progress {
    position: absolute;
    top: 25px;
    right: auto;
    left: 0;
    height: 4px;
    width: 0%;
    background-color: #047a6996;
    z-index: 2;
    transition: width 0.5s ease;
}

/* Step Circles */
.donate-step {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: white;
    border: 4px solid #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    position: relative;
    z-index: 3;
    transition: all 0.4s ease;
}

    .donate-step.donate-active {
        border-color: #047a6996;
        color: #047a6996;
        transform: scale(1.1);
        box-shadow: 0 0 0 8px rgba(52, 152, 219, 0.2);
    }

    .donate-step.donate-completed {
        background-color: #6c3b5e;
        border-color: #6c3b5e;
        color: white;
    }

/* Step Labels */
.donate-step-label {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-weight: 600;
    color: #047a6996;
    transition: color 0.3s ease;
}

.donate-step.donate-active .donate-step-label {
    color: #047a6996;
}

.donate-step.donate-completed .donate-step-label {
    color: #6c3b5e;
}

/* Step Icons */
.donate-step i {
    font-size: 1.4rem;
    display: none;
}

.donate-step.donate-completed .donate-step-number {
    display: none;
}

.donate-step.donate-completed i {
    display: block;
}

/* Step Content */
.donate-step-content {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 30px;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/*    .donate-step-content h3 {
        color: #2c3e50;
        margin-bottom: 20px;
        font-size: 1.5rem;
    }

    .donate-step-content p {
        line-height: 1.6;
        color: #555;
        margin-bottom: 20px;
    }

    .donate-step-content .form-field {
        margin-bottom: 20px;
    }

    .donate-step-content label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: #444;
    }

    .donate-step-content input,
    .donate-step-content select {
        width: 100%;
        padding: 12px 15px;
        border: 2px solid #ddd;
        border-radius: 8px;
        font-size: 1rem;
        transition: border 0.3s;
    }

        .donate-step-content input:focus,
        .donate-step-content select:focus {
            border-color: #3498db;
            outline: none;
        }*/

/* Navigation Buttons */
.donate-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.donate-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.donate-btn-prev {
    background-color: #ecf0f1;
    color: #7f8c8d;
}

    .donate-btn-prev:hover:not(:disabled) {
        background-color: #d5dbdb;
    }

.donate-btn-next {
    background-color: #047a6996;
    color: white;
}

    .donate-btn-next:hover:not(:disabled) {
        background-color: #03574a96
    }

.donate-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .donate-container {
        padding: 20px;
    }

    .donate-step {
        width: 50px;
        height: 50px;
    }

    .donate-step-label {
        font-size: 0.7rem;
    }

    .donate-step-content {
        padding: 20px;
    }

    .donate-container h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .donate-progress-container {
        margin-bottom: 50px;
    }

    .donate-step {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .donate-step-label {
        top: 50px;
        font-size: 0.6rem;
    }

    .donate-progress-bar,
    .donate-progress {
        top: 20px;
    }

    .donate-btn {
        padding: 10px 20px;
    }
}

/* Step Visibility */
.donate-step-panel {
    display: none;
}

    .donate-step-panel.donate-active {
        display: block;
        animation: fadeIn 0.5s ease;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Payment Summary */
.donate-payment-summary {
    background-color: #e8f4fc;
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
    border-left: 5px solid #3498db;
}

.donate-summary-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #2c3e50;
}

.donate-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.donate-total {
    border-top: 2px solid #3498db;
    padding-top: 10px;
    margin-top: 10px;
    font-weight: bold;
    font-size: 1.2rem;
}

.donate-container footer {
    margin-top: 30px;
    text-align: center;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Content Area */
.donate-content-area {
    position: relative;
    min-height: 300px;
}

/* Loading Overlay - Only Spinner */
.donate-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

    .donate-loading-overlay.donate-active {
        opacity: 1;
        visibility: visible;
    }

/* Simple Spinner */
.donate-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e0e0e0;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
