/* Case Details Page Styling */

/* Professional Hero Section for Case Details */
.professional-hero-case {
    background: #1a1a1a;
    color: white;
    position: relative;
    overflow: hidden;
}

.professional-hero-case::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/hero/hero-pattern.svg') no-repeat center center;
    background-size: cover;
    opacity: 0.05;
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.hero-content {
    padding-right: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: #3498db;
    margin-right: 8px;
    font-size: 16px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-breadcrumb {
    margin-bottom: 0;
}

.hero-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.hero-breadcrumb .breadcrumb-item {
    font-size: 14px;
}

.hero-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-breadcrumb .breadcrumb-item a:hover {
    color: white;
}

.hero-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

.hero-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(52, 152, 219, 0.2);
    border: 2px solid #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.stat-icon i {
    font-size: 24px;
    color: #3498db;
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.stat-content p {
    font-size: 14px;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-overlay {
        padding: 60px 0;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-stats {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .stat-item {
        flex: 1;
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-item {
        max-width: none;
    }
}

/* Case Details Content */
.cases-details-content {
    background: #f8f9fa;
}

/* Case Header */
.case-header {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.case-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.case-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-image:hover img {
    transform: scale(1.05);
}

.case-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #dc3545;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

.case-badge.urgent {
    background: #dc3545;
}

.case-badge.high {
    background: #fd7e14;
}

.case-badge.medium {
    background: #ffc107;
    color: #000;
}

.case-badge.low {
    background: #28a745;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Case Meta */
.case-meta {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.meta-item {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: #6c757d;
}

.meta-item i {
    color: #007bff;
    margin-right: 5px;
}

/* Progress Section */
.case-progress-section .card {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-radius: 15px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.case-progress-section .card-header {
    background: #28a745;
    color: white;
    padding: 1.5rem;
    border: none;
    position: relative;
    overflow: hidden;
}

.case-progress-section .card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.case-progress-section .card-header h3 {
    position: relative;
    z-index: 2;
}

.case-progress-section .card-header h3 {
    margin: 0;
    font-weight: 700;
    font-size: 1.4rem;
}

.case-progress-section .card-body {
    padding: 2rem;
}

.progress {
    background: #e9ecef;
    border-radius: 15px;
    height: 15px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.progress-bar {
    background: #28a745;
    border-radius: 15px;
    position: relative;
    animation: progressAnimation 2s ease-in-out;
}

@keyframes progressAnimation {
    0% { width: 0%; }
    100% { width: var(--progress-width, 0%); }
}

.funding-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-top: 3px solid #007bff;
}

.funding-stats h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.funding-stats .label {
    color: #6c757d;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Story Section */
.case-story {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    border-left: 4px solid #007bff;
}

.case-story h2 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    position: relative;
}

.case-story h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
}

.story-content {
    line-height: 1.8;
    color: #4a5568;
    font-size: 16px;
}

.story-content h5 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.2rem;
}

.story-content ul {
    padding-left: 0;
    list-style: none;
}

.story-content li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.story-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 14px;
}

.story-content p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

/* Beneficiary Info */
.beneficiary-info .card {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.beneficiary-info .card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    padding: 1.5rem;
}

.beneficiary-info .card-header h3 {
    color: #2c3e50;
    font-weight: 700;
    margin: 0;
    font-size: 1.4rem;
}

.beneficiary-info .card-body {
    padding: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-item {
    background: #f8f9fa;
    padding: 1.2rem;
    border-radius: 10px;
    border-left: 4px solid #007bff;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-item label {
    color: #6c757d;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.5rem;
}

.info-item .value {
    color: #2c3e50;
    font-weight: 600;
    font-size: 16px;
}

.info-item i {
    color: #007bff;
    margin-right: 8px;
    width: 16px;
}

/* Documents Section */
.case-documents .card {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-radius: 15px;
    margin-bottom: 2rem;
}

.case-documents .card-header {
    background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%);
    color: white;
    padding: 1.5rem;
    border: none;
    border-radius: 15px 15px 0 0;
}

.case-documents .card-header h3 {
    margin: 0;
    font-weight: 700;
    font-size: 1.4rem;
}

.documents-grid .document-item {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    border-left: 4px solid #6f42c1;
    transition: all 0.3s ease;
}

.document-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.document-item .card-body {
    padding: 1.2rem;
}

.document-item i {
    font-size: 1.2rem;
}

/* Admin Notes */
.admin-notes .card {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-radius: 15px;
    border-left: 4px solid #ffc107;
}

.admin-notes .card-header {
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    color: #212529;
    padding: 1.5rem;
    border: none;
    border-radius: 15px 15px 0 0;
}

.admin-notes .card-header h3 {
    margin: 0;
    font-weight: 700;
    font-size: 1.4rem;
}

.admin-notes .card-body {
    padding: 2rem;
    background: #fffbf0;
}

/* Sidebar */
.case-sidebar {
    position: sticky;
    top: 20px;
}

/* Donation Widget */
.donation-widget {
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.donation-widget .card-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
}

.donation-amounts .btn {
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.donation-amounts .btn:hover,
.donation-amounts .btn.active {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.custom-amount .input-group-text {
    background: #f8f9fa;
    border-color: #dee2e6;
    font-weight: 600;
}

#donate-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

#donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* Case Summary */
.case-summary .card {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.summary-item {
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
}

.summary-item:last-child {
    border-bottom: none;
}

/* Share Section */
.share-case .card-header {
    border-radius: 15px 15px 0 0;
}

.social-share-buttons .btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 12px 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-facebook {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

.btn-facebook:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.btn-twitter {
    background: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

.btn-twitter:hover {
    background: #1a91da;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.3);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    border-color: #25d366;
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-linkedin {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
}

.btn-linkedin:hover {
    background: #006396;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}

.copy-link-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.copy-link-section .form-control {
    border-radius: 8px 0 0 8px;
    border-right: none;
    background: white;
}

.copy-link-section .btn {
    border-radius: 0 8px 8px 0;
    border-left: none;
}

.share-stats {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 1rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Animation for copy success */
#copy-success {
    animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(10px); }
    20% { opacity: 1; transform: translateY(0); }
    80% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-10px); }
}
.share-case .card {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.share-buttons .btn {
    border-radius: 8px;
    transition: all 0.3s ease;
}

.share-buttons .btn:hover {
    transform: translateY(-2px);
}

/* Contact Info */
.contact-info .card {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-item {
    display: flex;
    align-items: center;
    font-size: 14px;
}

/* Loading and Error States */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .case-header {
        padding: 1rem;
    }
    
    .case-image img {
        height: 250px;
    }
    
    .funding-stats h3 {
        font-size: 2rem;
    }
    
    .donation-amounts .col-6 {
        margin-bottom: 0.5rem;
    }
    
    .share-buttons {
        flex-wrap: wrap;
    }
    
    .share-buttons .btn {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .case-meta {
        flex-direction: column;
        gap: 0.5rem !important;
    }
    
    .meta-item {
        align-self: flex-start;
    }
    
    .properties-footer {
        flex-direction: column !important;
        text-align: center;
    }
    
    .properties-footer .class-day {
        margin-bottom: 1rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Success/Error Messages */
.alert {
    border-radius: 10px;
    border: none;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

/* Custom Scrollbar */
.story-content::-webkit-scrollbar {
    width: 6px;
}

.story-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.story-content::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 3px;
}

.story-content::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Enhanced Sidebar Professional Styling */
.case-sidebar .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.case-sidebar .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.case-sidebar .card-header {
    background: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.25rem 1.5rem;
}

.case-sidebar .card-header.bg-gradient {
    background: #6c757d !important;
    color: white;
    position: relative;
    overflow: hidden;
}

.case-sidebar .card-header.bg-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.case-sidebar .card-header.bg-gradient h6 {
    position: relative;
    z-index: 2;
}

.case-sidebar .card-body {
    padding: 1.5rem;
}

/* Enhanced Donation Widget */
.donation-amounts .btn.rounded-pill {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    border-width: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.donation-amounts .btn.rounded-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.donation-amounts .btn.rounded-pill:hover::before {
    left: 100%;
}

.donation-amounts .btn.rounded-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

.custom-amount .input-group-text {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-right: none;
    font-weight: 600;
    color: #6c757d;
}

.custom-amount .form-control {
    border: 2px solid #e9ecef;
    border-left: none;
    font-size: 16px;
    font-weight: 500;
}

.custom-amount .form-control:focus {
    border-color: #007bff;
    box-shadow: none;
}

.custom-amount .form-control:focus + .input-group-text {
    border-color: #007bff;
}

/* Enhanced Summary Stats */
.summary-stats .stat-item {
    border-bottom: 1px solid #f1f3f4;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 0 -12px;
    padding: 16px 12px;
}

.summary-stats .stat-item:last-child {
    border-bottom: none;
}

.summary-stats .stat-item:hover {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    transform: translateX(5px);
}

.stat-label {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

.stat-label i {
    width: 18px;
    text-align: center;
}

.stat-value {
    font-size: 15px;
    font-weight: 600;
    color: #495057;
}

.badge {
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enhanced Share Buttons */
.share-buttons .btn {
    border-radius: 10px;
    font-weight: 500;
    border-width: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.share-buttons .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.share-buttons .btn:hover::before {
    width: 100%;
    height: 100%;
}

.share-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Enhanced Contact Section */
.contact-methods .contact-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-methods .contact-item:hover {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: #2196f3;
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.2);
}

.contact-icon {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.contact-details {
    flex: 1;
}

.contact-details .fw-medium {
    font-size: 14px;
    color: #495057;
    margin-bottom: 2px;
}

.contact-details a {
    font-size: 13px;
    color: #6c757d;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #007bff;
}

/* Floating Action Effects */
.btn.rounded-pill {
    position: relative;
    overflow: hidden;
}

.btn.rounded-pill::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.btn.rounded-pill:hover::after {
    width: 300px;
    height: 300px;
}

/* Card Header Icons */
.card-header i {
    margin-right: 8px;
    font-size: 16px;
}

/* Responsive Enhancements */
@media (max-width: 991px) {
    .case-sidebar {
        position: static;
        margin-top: 3rem;
    }
    
    .case-sidebar .card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .donation-amounts .btn {
        font-size: 13px;
        padding: 8px 12px;
    }
    
    .share-buttons .btn {
        margin-bottom: 10px;
    }
    
    .contact-methods .contact-item {
        padding: 12px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* Donation Update Notification */
.donation-update-notification {
    border-left: 4px solid #28a745;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Donation Statistics Section */
.donation-stats-section {
    border-top: 2px solid #e9ecef;
}

.donation-stats-section .stat-box {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.donation-stats-section .stat-box:hover {
    border-color: #007bff;
    background: white !important;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
}

/* Recent Donations Section */
.recent-donations .donation-item {
    transition: background-color 0.3s ease;
}

.recent-donations .donation-item:hover {
    background-color: rgba(0, 123, 255, 0.05);
    border-radius: 6px;
}

.recent-donations .donation-item:last-child {
    border-bottom: none !important;
}

/* Progress Bar Enhancements */
.progress {
    background: rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    transition: width 1s ease-in-out, background-color 0.3s ease;
    background: linear-gradient(90deg, #28a745, #20c997);
}

.progress-bar.bg-success {
    background: linear-gradient(90deg, #28a745, #20c997) !important;
}

.progress-bar.bg-info {
    background: linear-gradient(90deg, #17a2b8, #6f42c1) !important;
}

.progress-bar.bg-warning {
    background: linear-gradient(90deg, #ffc107, #fd7e14) !important;
}

.progress-bar.bg-danger {
    background: linear-gradient(90deg, #dc3545, #e83e8c) !important;
}