﻿

.donation-card {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #fff;
}

    .donation-card img {
        width: 100%;
        height: auto;
    }

.donation-card-content {
    padding: 20px;
}

    .donation-card-content h2 {
        font-size: 1.2em;
        margin: 0 0 10px;
        color: #333;
    }

    .donation-card-content p {
        font-size: 0.9em;
        color: #666;
        margin-bottom: 20px;
        line-height: 1.4;
    }

.progress-container {
    position: relative;
    margin-bottom: 20px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background-color: #e0e0e0;
}

.progress-bar-fill {
    height: 100%;
    background-color: #ff6600;
    border-radius: 4px 0 0 4px;
}

.progress-label {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #ff6600;
    color: #fff;
    font-size: 0.8em;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.raised-goal {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    color: #666;
}

.donation-btn {
    background: linear-gradient(90deg, #ff5f00, #ff9000); /* Gradient orange color */
    color: white;
    border: none;
    border-radius: 25px; /* Fully rounded corners */
    padding: 10px 20px; /* Adjust padding for desired size */
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Slight shadow for depth */
}

    .donation-btn:hover {
        background: linear-gradient(90deg, #ff9000, #ff5f00); /* Invert gradient on hover */
    }



.donation-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - (58px + 70px)); /* Header height + Footer height */


    background-image: url('/images/donation-detail.webp'); /* Replace with your image URL */
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
}

    .donation-page::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5); /* Black overlay with 50% opacity */
        z-index: 1;
    }

    .donation-page > * {
        position: relative;
        z-index: 2;
    }

.donation-header {
    text-align: center;
}

    .donation-header h1 {
        font-size: 2.5em;
        margin-bottom: 10px;
        color: #ffdd99; /* Light color for the header text */
    }

.pledge-header h2 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #ffdd99; /* Light color for the header text */
    text-align: center;
}

.donation-header p {
    font-size: 1.2em;
    color: #ddd; /* Faded color for the description */
    margin-bottom: 30px;
}

.donation-detail-donation-progress-section {
    width: 80%;
    margin: 20px 0;
    text-align: center;
}

.donation-detail-progress-bar {
    width: 100%;
    height: 20px;
    background-color: #ddd;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.donation-detail-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff5f00, #ff9000);
    border-radius: 10px 0 0 10px;
    transition: width 0.4s ease;
}

.donation-detail-progress-label {
    font-size: 1.2em;
    color: #ffffff;
}

.donation-description {
    width: 80%;
    text-align: center;
    margin: 20px 0;
}

    .donation-description h2 {
        font-size: 2em;
        margin-bottom: 10px;
        color: #ffdd99;
    }

    .donation-description p {
        font-size: 1.1em;
        line-height: 1.6;
        color: #ddd;
    }

.donation-btn-container {
    text-align: center;
    margin-top: 30px;
}

.donation-btn, .pledge-btn {
    background: linear-gradient(90deg, #ff5f00, #ff9000);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    margin: 0 10px;
}

    .donation-btn:hover, .pledge-btn:hover {
        background: linear-gradient(90deg, #ff9000, #ff5f00);
    }


.modal-content {
    background-color: #2c2c2c;
    color: #fff;
    display: flex;
    flex-direction: row;
}

.modal-image {
    background-image: url('https://img.freepik.com/free-photo/holy-communion-concept-with-bible_23-2149337563.jpg'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    width: 50%;
}

.modal-body {
    padding: 30px;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    
.form-control {
    background-color: wheat;
    border: none;
    color: black;
}

.btn-primary {
    background-color: #f2a900;
    border: none;
}

    .btn-primary:hover {
        background-color: #e69900;
    }

.form-check-label, a {
    color: #ddd;
}

    .form-check-label:hover, a:hover {
        color: #fff;
    }

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100vh - (58px + 70px)); /* Header height + Footer height */
}

.new-pledge-btn {
    background: linear-gradient(90deg, #ff5f00, #ff9000);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 8px 30px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    margin: 0 10px;
}



.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #444;
    color: #fff;
    border-radius: 50%;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.new-pledge-btn:hover {
    background: linear-gradient(90deg, #ff9000, #ff5f00);
}

.new-pledge-btn:disabled {
    background: linear-gradient(90deg, #cccccc, #999999); /* Grey gradient for disabled state */
    color: #666666; /* Faded text color */
    cursor: not-allowed; /* Disabled cursor */
    box-shadow: none; /* Remove shadow for disabled state */
}
.close-btn:hover {
    background: linear-gradient(90deg, #ff9000, #ff5f00);
    color: #2c2c2c;
}

.custom-input-group .form-group {
    display: flex;
    align-items: center;
}

.custom-input-group .input-group-text {
    background-color: #ff5f00; /* Optional: match your theme */
    color: white;
    border: none;
    border-radius: 25px 0 0 25px;
}

.custom-input-group .input-group .form-control {
    border-radius: 0 25px 25px 0;
}

.custom-input-group .form-group .form-control:focus {
    box-shadow: none; /* Optional: remove focus shadow */
}
