/* === Reset & Base === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Teal Color Palette - matching existing site */
    --primary: #2d5a5a;
    --primary-dark: #1e4040;
    --primary-light: #3d7a7a;
    --accent: #25d366;
    --accent-light: #4ade80;

    /* Olive/Gold for header */
    --header-bg: #8b7355;
    --header-dark: #6b5a45;

    /* Backgrounds */
    --cream: #faf8f5;
    --cream-dark: #f0ebe3;
    --white: #ffffff;

    /* Text */
    --text: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --text-on-dark: #ffffff;

    /* Borders & Shadows */
    --border: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.12);

    /* Radius */
    --radius: 8px;
    --radius-lg: 16px;

    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Heebo', sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.6;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === Typography === */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
h3 { font-size: 1.1rem; }

/* === Hero Section === */
.hero {
    background: linear-gradient(180deg, var(--header-bg) 0%, var(--header-bg) 80px, var(--primary) 200px, var(--primary) 100%);
    color: var(--text-on-dark);
    padding-bottom: 40px;
}

/* === Navigation === */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    background: var(--header-bg);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-on-dark);
    font-size: 1.3rem;
    font-weight: 700;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    color: var(--text-on-dark);
    text-decoration: none;
    font-weight: 500;
    opacity: 0.9;
    transition: var(--transition);
}

.nav-links a:hover {
    opacity: 1;
}

/* === Hamburger Menu === */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-on-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* === Hero Content === */
.hero-content {
    text-align: center;
    padding: 30px 0 20px;
}

.hero-text h1 {
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.hero-quote {
    font-size: 1rem;
    opacity: 0.75;
    font-style: italic;
    margin-bottom: 30px;
}

/* === Stats Bar === */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-lg);
    padding: 25px 35px;
    text-align: center;
    min-width: 160px;
    transition: var(--transition);
    position: relative;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.stat-icon {
    position: absolute;
    top: -12px;
    left: -12px;
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.stat-value {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
    font-weight: 500;
}

/* KPI Indicator */
.stat-kpi {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

.stat-kpi.positive {
    color: #90EE90;
}

.stat-kpi.negative {
    color: #ff6b6b;
}

.kpi-arrow {
    font-weight: bold;
    font-size: 1rem;
}

.kpi-value {
    font-weight: 700;
}

.kpi-label {
    opacity: 0.8;
}

/* === Progress Bar === */
.progress-wrapper {
    max-width: 500px;
    margin: 0 auto 25px;
}

.progress-bar {
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-light), var(--accent));
    border-radius: 10px;
    width: 0%;
    transition: width 1.5s ease-out;
}

.progress-info {
    text-align: center;
    margin-top: 10px;
    font-size: 1.2rem;
}

/* === Next Raffle === */
.next-raffle {
    margin-top: 20px;
}

.raffle-title {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.raffle-date {
    font-size: 1.5rem;
    font-weight: 700;
}

/* === Form Section === */
.hidden {
    display: none !important;
}

.form-section {
    padding: 50px 0;
    background: var(--cream);
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.form-card {
    background: var(--white);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.form-header {
    background: var(--primary);
    color: var(--text-on-dark);
    padding: 25px 30px;
    text-align: center;
}

.form-header h2 {
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.form-header p {
    opacity: 0.9;
    font-size: 0.95rem;
}

/* === Form Tabs === */
.form-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 0;
}

.form-tab {
    flex: 1;
    padding: 16px 20px;
    background: #e0e0e0;
    border: none;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    color: #666;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-tab:hover {
    background: #d0d0d0;
}

.form-tab.active {
    background: var(--primary);
    color: var(--text-on-dark);
}

/* === Success Message === */
.success-message {
    padding: 60px 30px;
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #4CAF50;
    color: white;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.success-message h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.success-message p {
    color: #666;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.donation-form {
    padding: 30px;
}

/* === Form Section Titles === */
.form-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 25px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.form-section-title:first-of-type {
    margin-top: 0;
}

.section-icon {
    font-size: 1.3rem;
}

/* === Form Elements === */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 90, 90, 0.1);
}

.form-group input::placeholder {
    color: var(--text-lighter);
}

/* === Amount Buttons === */
.amount-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.amount-btn {
    flex: 1;
    min-width: 60px;
    padding: 12px 15px;
    border: 2px solid var(--border);
    background: var(--white);
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text);
}

.amount-btn:hover {
    border-color: var(--primary-light);
}

.amount-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--text-on-dark);
}

/* === Checkbox === */
.checkbox-group {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.terms-link {
    color: var(--primary);
    text-decoration: underline;
}

/* === Collapsible Sections === */
.collapsible-section {
    padding: 20px;
    background: var(--cream);
    border-radius: var(--radius);
    margin-top: 15px;
    margin-bottom: 15px;
    border-right: 3px solid var(--primary);
    animation: slideDown 0.3s ease-out;
}

.collapsible-section.hidden {
    display: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Hint */
.form-hint {
    font-size: 0.85rem;
    color: #666;
    margin: -5px 0 10px 0;
    line-height: 1.5;
}

/* Form Textarea */
.donation-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Heebo', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    resize: vertical;
}

.donation-form textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 90, 90, 0.1);
}

/* Toggle Checkbox Styling */
.toggle-checkbox {
    background: var(--cream);
    padding: 15px;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    transition: var(--transition);
}

.toggle-checkbox:hover {
    border-color: var(--primary-light);
}

.toggle-checkbox input:checked + span {
    color: var(--primary);
    font-weight: 600;
}

/* Raffle Checkbox Highlight */
.raffle-checkbox {
    background: linear-gradient(135deg, rgba(45, 90, 90, 0.1) 0%, rgba(37, 211, 102, 0.1) 100%);
    padding: 15px;
    border-radius: var(--radius);
    border: 2px solid var(--primary-light);
}

.raffle-checkbox input:checked + span {
    color: var(--primary);
    font-weight: 600;
}

/* Raffle Info Box */
.raffle-info-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--text-on-dark);
    padding: 15px;
    border-radius: var(--radius);
    margin-bottom: 15px;
    text-align: center;
}

.raffle-info-box p {
    margin: 0;
    font-size: 0.9rem;
}

/* === Submit Button === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-on-dark);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.submit-btn {
    width: 100%;
    margin-top: 20px;
    padding: 16px;
    font-size: 1.2rem;
}

/* === Payment Container === */
.payment-container {
    padding: 30px;
}

.payment-container.hidden {
    display: none;
}

.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.payment-header h3 {
    color: var(--text);
    margin: 0;
}

.btn-back {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-light);
    padding: 8px 15px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-back:hover {
    border-color: var(--primary);
    color: var(--primary);
}

#paymentIframe {
    min-height: 650px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--cream);
}

#paymentIframe iframe {
    width: 100%;
    height: 700px;
    border: none;
}

.payment-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: var(--text-light);
}

/* === About Section === */
.about-section {
    padding: 60px 0;
    background: var(--white);
    text-align: center;
}

.about-section h2 {
    margin-bottom: 40px;
    color: var(--primary-dark);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.step-card {
    padding: 30px 20px;
    background: var(--cream);
    border-radius: var(--radius-lg);
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.step-number {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 35px;
    height: 35px;
    background: var(--primary);
    color: var(--text-on-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.step-card h3 {
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.step-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* === About Us Section === */
.about-us-section {
    padding: 80px 0;
    background: var(--cream);
}

.about-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.about-intro {
    font-size: 1.2rem;
    color: var(--text);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.about-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.about-card.highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--text-on-dark);
}

.about-card.highlight h3 {
    color: var(--text-on-dark);
}

.about-card.friend-card {
    border: 3px solid var(--accent);
}

.about-card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.about-card h3 {
    color: var(--primary-dark);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.about-card p {
    margin-bottom: 12px;
    line-height: 1.7;
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    position: relative;
    padding-right: 25px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.about-list li::before {
    content: "•";
    position: absolute;
    right: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.benefits-list li {
    position: relative;
    padding-right: 30px;
    margin-bottom: 10px;
    font-weight: 500;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--accent);
    font-weight: bold;
}

.highlight-text {
    font-weight: 600;
    color: var(--primary);
    padding: 10px 0;
}

.about-card.highlight .highlight-text {
    color: #90EE90;
}

.about-card.friend-card .highlight-text {
    color: var(--accent);
}

.big-text {
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
}

.quote {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--primary);
    border-right: 4px solid var(--accent);
    padding-right: 15px;
    margin-bottom: 15px;
}

/* Goals Section */
.goals-section {
    margin-top: 40px;
}

.goals-section h3 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 30px;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.goal-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.goal-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.goal-card.vision {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-on-dark);
    grid-column: span 3;
}

.goal-card.vision h4 {
    color: var(--text-on-dark);
}

.goal-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.goal-card h4 {
    color: var(--primary-dark);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.goal-card p {
    line-height: 1.6;
}

/* === Donors Table === */
.donors-section {
    padding: 60px 0;
    background: var(--cream);
}

.donors-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-dark);
}

.table-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.donors-table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
}

.donors-table th,
.donors-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
}

.donors-table th {
    background: var(--primary);
    color: var(--text-on-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.donors-table tr:last-child td {
    border-bottom: none;
}

.donors-table tr:nth-child(even) {
    background: var(--cream);
}

.table-loading {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
}

/* === Page Header (for internal pages) === */
.page-header {
    background: var(--header-bg);
}

.page-header .nav {
    background: transparent;
}

.page-header .nav-links a.active {
    color: var(--accent-light);
}

.page-title-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-on-dark);
    padding: 60px 0;
    text-align: center;
}

.page-title-section h1 {
    margin-bottom: 10px;
}

.page-title-section p {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* === About CTA === */
.about-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.about-cta h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
}

/* === Donors Page Section === */
.donors-page-section {
    padding: 60px 0;
    background: var(--cream);
}

.donors-stats {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.donors-cta {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
}

.donors-cta p {
    margin-bottom: 15px;
    color: var(--text-light);
}

/* === Donors Cards Section === */
.donors-cards-section {
    padding: 60px 0;
    background: var(--white);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    margin-bottom: 0;
    color: var(--primary-dark);
}

.view-all-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.view-all-link:hover {
    color: var(--primary-dark);
}

/* === Search & Sort Controls === */
.donors-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-box input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    opacity: 0.5;
}

.sort-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.sort-btn {
    padding: 8px 16px;
    border: 2px solid var(--border);
    background: var(--white);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    font-family: inherit;
}

.sort-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.sort-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-on-dark);
}

/* === Donor Cards Grid === */
.donors-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.donor-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.donor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.donor-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--text-on-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
}

.donor-info {
    flex: 1;
}

.donor-name {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.donor-city {
    color: var(--text-light);
    font-size: 0.9rem;
}

.donor-details {
    border-top: 1px solid var(--border);
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.donor-detail {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.detail-label {
    color: var(--text-light);
}

.detail-value {
    color: var(--text);
    font-weight: 500;
}

.cards-loading {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.view-more-wrapper {
    text-align: center;
    margin-top: 30px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 30px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-on-dark);
}

/* === Institution Select with Button === */
.select-with-btn {
    display: flex;
    gap: 10px;
}

.select-with-btn select {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.select-with-btn select:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-add-mosad {
    padding: 12px 20px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    font-family: inherit;
}

.btn-add-mosad:hover {
    background: #1fb855;
}

.selected-mosad-info {
    margin-top: 15px;
    padding: 15px;
    background: var(--cream);
    border-radius: var(--radius);
    border-right: 4px solid var(--primary);
}

.selected-mosad-info.hidden {
    display: none;
}

.selected-mosad-info h4 {
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.selected-mosad-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

/* === Modal === */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.hidden {
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    color: var(--primary-dark);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text);
}

.modal-form {
    padding: 25px;
}

.modal-form .form-group {
    margin-bottom: 20px;
}

.modal-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: var(--transition);
}

.modal-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.btn-secondary {
    background: var(--cream);
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    background: var(--cream-dark);
}

/* === WhatsApp Button === */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    left: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    z-index: 1000;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
    width: 24px;
    height: 24px;
}

/* === Footer === */
.footer {
    background: var(--primary-dark);
    color: var(--text-on-dark);
    padding: 50px 0 25px;
}

.footer-content {
    text-align: center;
    margin-bottom: 25px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.footer-logo span {
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-content > p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.footer-links a {
    color: var(--text-on-dark);
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.85rem;
}

/* === Responsive === */
@media (max-width: 900px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .goals-grid {
        grid-template-columns: 1fr;
    }

    .goal-card.vision {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 0;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
    }

    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .stats-bar {
        gap: 10px;
    }

    .stat-card {
        padding: 20px 25px;
        min-width: 140px;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .stat-kpi {
        flex-wrap: wrap;
        font-size: 0.75rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .amount-buttons {
        flex-wrap: wrap;
    }

    .amount-btn {
        flex: 1 1 calc(33% - 10px);
    }

    .donation-form {
        padding: 20px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .whatsapp-btn span {
        display: none;
    }

    .whatsapp-btn {
        padding: 15px;
        border-radius: 50%;
    }

    .about-us-section {
        padding: 50px 0;
    }

    .about-intro {
        font-size: 1rem;
    }

    .about-card {
        padding: 20px;
    }

    .big-text {
        font-size: 1.2rem;
    }

    .goals-section h3 {
        font-size: 1.4rem;
    }

    .donors-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .donors-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        max-width: 100%;
    }

    .sort-buttons {
        justify-content: center;
    }

    .section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .select-with-btn {
        flex-direction: column;
    }

    .btn-add-mosad {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 20px 0;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .form-header {
        padding: 20px;
    }

    .amount-btn {
        flex: 1 1 calc(50% - 10px);
    }

    .donors-cards-grid {
        grid-template-columns: 1fr;
    }

    .page-title-section {
        padding: 40px 0;
    }
}

/* === Legal Pages === */
.legal-section {
    padding: 60px 0;
    background: var(--cream);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    line-height: 1.8;
}

.legal-content .legal-updated {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.legal-content h2 {
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin-top: 35px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content h3 {
    color: var(--primary);
    font-size: 1.05rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-content p {
    margin-bottom: 12px;
    color: var(--text);
}

.legal-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.legal-content ul li {
    position: relative;
    padding-right: 25px;
    margin-bottom: 8px;
    line-height: 1.7;
}

.legal-content ul li::before {
    content: "\2022";
    position: absolute;
    right: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 25px;
    }
}

/* === Form Error States === */
.form-group.error input,
.form-group.error select {
    border-color: #dc3545;
}

.form-group .error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 5px;
}

/* === Animations === */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-card {
    animation: fadeIn 0.5s ease-out forwards;
}

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.2s; }
.step-card:nth-child(3) { animation-delay: 0.3s; }
.step-card:nth-child(4) { animation-delay: 0.4s; }

/* ========================================
   ORGANIZATIONS & KUPOT PAGES
   ======================================== */

/* === Platform Stats Bar === */
.platform-stats-section {
    background: var(--primary);
    padding: 30px 0;
}

.platform-stats-bar {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.platform-stat {
    text-align: center;
    color: var(--text-on-dark);
}

.platform-stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.platform-stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* === Filter Bar === */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--border);
    background: var(--white);
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    font-family: inherit;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-on-dark);
}

/* === Organizations Section === */
.organizations-section {
    padding: 60px 0;
    background: var(--cream);
}

/* === Organizations Grid === */
.organizations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

/* === Organization Card === */
.org-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    display: block;
    box-shadow: var(--shadow);
}

.org-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.org-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.org-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--text-on-dark);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
}

.org-category {
    background: var(--cream);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.org-name {
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.org-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.org-stats {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 15px;
}

.org-stat {
    text-align: center;
}

.org-stat-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.org-stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
}

.org-card-footer {
    text-align: left;
}

.view-org {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
}

/* === Add Organization CTA === */
.add-org-cta {
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.add-org-cta h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.add-org-cta p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* === Organization Hero (Single Org Page) === */
.org-hero {
    background: linear-gradient(180deg, var(--header-bg) 0%, var(--header-bg) 80px, var(--primary) 200px, var(--primary) 100%);
    color: var(--text-on-dark);
    padding-bottom: 40px;
}

.breadcrumb {
    padding: 20px 0;
    font-size: 0.9rem;
    opacity: 0.85;
}

.breadcrumb a {
    color: var(--text-on-dark);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb span {
    margin: 0 8px;
}

.org-hero-content {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
}

.org-hero-logo {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.org-hero-info {
    flex: 1;
}

.org-category-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.org-hero-info h1 {
    margin-bottom: 10px;
}

.org-hero-info p {
    opacity: 0.9;
    line-height: 1.6;
}

.org-hero-stats {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

/* === Organization Kupot Section === */
.org-kupot-section {
    padding: 60px 0;
    background: var(--cream);
}

/* === Organization Donors Section === */
.org-donors-section {
    padding: 60px 0;
    background: var(--white);
}

/* === Kupot Grid === */
.kupot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* === Kupa Card === */
.kupa-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    display: block;
    box-shadow: var(--shadow);
}

.kupa-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.kupa-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.kupa-name {
    color: var(--primary-dark);
    font-size: 1.2rem;
    margin: 0;
}

.kupa-status {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.kupa-status.active {
    background: #d4edda;
    color: #155724;
}

.kupa-status.ending-soon {
    background: #fff3cd;
    color: #856404;
}

.kupa-status.completed {
    background: var(--cream);
    color: var(--text-light);
}

.kupa-status.ongoing {
    background: #e3f2fd;
    color: #1565c0;
}

.kupa-status.urgent {
    background: #fff3cd;
    color: #856404;
}

.kupa-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Kupa Organization Display */
.kupa-org {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.kupa-org-label {
    color: var(--text-light);
}

.kupa-org .kupa-org-name {
    color: var(--primary);
    font-weight: 500;
}

/* Simple Kupa Stats (no progress bar) */
.kupa-simple-stats {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.kupa-simple-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.kupa-simple-stat .stat-icon {
    position: static;
    width: auto;
    height: auto;
    background: none;
    box-shadow: none;
    font-size: 1.5rem;
}

.kupa-simple-stat .stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.kupa-simple-stat .stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Kupot List Section */
.kupot-list-section {
    padding: 60px 0;
    background: var(--cream);
}

.kupot-grid-large {
    grid-template-columns: repeat(3, 1fr);
}

.load-more-wrapper {
    text-align: center;
    margin-top: 40px;
}

.kupa-org-name {
    color: var(--primary);
    font-size: 0.85rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.kupa-progress {
    margin-bottom: 20px;
}

.kupa-progress-bar {
    height: 10px;
    background: var(--cream);
    border-radius: 5px;
    overflow: hidden;
}

.kupa-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-light), var(--accent));
    border-radius: 5px;
    transition: width 0.5s ease;
}

.kupa-progress-info {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.kupa-stats {
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 15px;
}

.kupa-stat {
    text-align: center;
}

.kupa-stat-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.kupa-stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
}

.kupa-card-footer {
    text-align: left;
}

.donate-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

/* === Kupot List Page === */
.kupot-section {
    padding: 60px 0;
    background: var(--cream);
}

/* === Single Kupa Page === */
.kupa-hero {
    background: linear-gradient(180deg, var(--header-bg) 0%, var(--header-bg) 80px, var(--primary) 200px, var(--primary) 100%);
    color: var(--text-on-dark);
    padding-bottom: 40px;
}

.kupa-hero-content {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 30px;
}

.kupa-hero-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.kupa-hero-info {
    flex: 1;
}

.kupa-hero-info h1 {
    margin-bottom: 8px;
}

.kupa-hero-org {
    opacity: 0.9;
    margin-bottom: 10px;
}

.kupa-hero-org a {
    color: var(--text-on-dark);
    text-decoration: underline;
}

.kupa-hero-description {
    opacity: 0.9;
    line-height: 1.6;
}

.kupa-hero-progress {
    max-width: 600px;
    margin: 0 auto 30px;
}

.kupa-hero-progress .kupa-progress-bar {
    height: 16px;
    background: rgba(255, 255, 255, 0.3);
}

.kupa-hero-progress .kupa-progress-info {
    color: var(--text-on-dark);
    font-size: 1rem;
    margin-top: 10px;
}

.kupa-hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.kupa-hero-stat {
    text-align: center;
}

.kupa-hero-stat .stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
}

.kupa-hero-stat .stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* === Kupa Form Section === */
.kupa-form-section {
    padding: 60px 0;
    background: var(--cream);
}

.kupa-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    align-items: start;
}

.kupa-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.kupa-form-header {
    background: var(--primary);
    color: var(--text-on-dark);
    padding: 25px 30px;
}

.kupa-form-header h2 {
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.kupa-form-header p {
    opacity: 0.9;
    font-size: 0.9rem;
    margin: 0;
}

.kupa-donation-form {
    padding: 30px;
}

/* === Kupa Sidebar === */
.kupa-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow);
}

.sidebar-card h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.kupa-details-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.kupa-detail-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.kupa-detail-item .label {
    color: var(--text-light);
}

.kupa-detail-item .value {
    font-weight: 600;
    color: var(--text);
}

/* Sidebar Recent Donors */
.sidebar-donors-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-donor {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-donor-avatar {
    width: 40px;
    height: 40px;
    background: var(--cream);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.sidebar-donor-info {
    flex: 1;
    min-width: 0;
}

.sidebar-donor-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.sidebar-donor-amount {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Sidebar Share */
.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.share-btn.whatsapp {
    background: var(--accent);
    color: var(--white);
}

.share-btn.whatsapp:hover {
    background: #1fb855;
}

.share-btn.facebook {
    background: #1877f2;
    color: var(--white);
}

.share-btn.facebook:hover {
    background: #166fe5;
}

.share-btn.copy {
    background: var(--cream);
    color: var(--text);
}

.share-btn.copy:hover {
    background: var(--cream-dark);
}

/* === Kupa All Donors Section === */
.kupa-donors-section {
    padding: 60px 0;
    background: var(--white);
}

.kupa-donors-section h2 {
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 40px;
}

/* === Kupa Hero Extended Styles === */
.kupa-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.kupa-org-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

.kupa-status-badge {
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.kupa-status-badge.active {
    background: var(--accent);
    color: var(--white);
}

.kupa-status-badge.ending-soon {
    background: #ffc107;
    color: #333;
}

.kupa-status-badge.completed {
    background: rgba(255, 255, 255, 0.3);
    color: var(--text-on-dark);
}

.kupa-full-description {
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 25px;
    max-width: 700px;
}

/* === Kupa Hero Progress (Large) === */
.kupa-hero-progress {
    margin-bottom: 30px;
}

.kupa-progress-bar.large {
    height: 20px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    overflow: hidden;
}

.kupa-progress-bar.large .kupa-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-light), var(--accent));
    border-radius: 10px;
}

.kupa-progress-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.progress-amount {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.current-amount {
    font-size: 1.8rem;
    font-weight: 800;
}

.target-amount {
    font-size: 1rem;
    opacity: 0.85;
}

.progress-percent {
    font-size: 1.4rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 50px;
}

/* === Kupa Hero Stats === */
.kupa-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.kupa-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 30px;
    border-radius: var(--radius-lg);
    min-width: 120px;
}

.kupa-hero-stat .stat-icon {
    position: static;
    width: auto;
    height: auto;
    background: none;
    box-shadow: none;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.kupa-hero-stat .stat-value {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.kupa-hero-stat .stat-label {
    font-size: 0.85rem;
    opacity: 0.85;
}

/* === Sidebar Info List === */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.info-value {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.info-value.link {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.info-value.link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* === Recent Donors List (Sidebar) === */
.recent-donors-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recent-donor {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: var(--cream);
    border-radius: var(--radius);
    transition: var(--transition);
}

.recent-donor:hover {
    background: var(--cream-dark);
}

.recent-donor-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--text-on-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.recent-donor-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.recent-donor-name {
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
}

.recent-donor-amount {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

.view-all-donors {
    display: block;
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.view-all-donors:hover {
    color: var(--primary-dark);
}

/* === Kupa Type Notice === */
.kupa-type-notice {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding: 15px;
    background: var(--cream);
    border-radius: var(--radius);
    border-right: 3px solid var(--primary);
}

.kupa-type-notice .notice-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.kupa-type-notice p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* === Share Buttons Extended === */
.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 15px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.share-btn.whatsapp {
    background: var(--accent);
    color: var(--white);
}

.share-btn.whatsapp:hover {
    background: #1fb855;
}

.share-btn.facebook {
    background: #1877f2;
    color: var(--white);
}

.share-btn.facebook:hover {
    background: #166fe5;
}

.share-btn.copy {
    background: var(--cream);
    color: var(--text);
    border: 1px solid var(--border);
}

.share-btn.copy:hover {
    background: var(--cream-dark);
}

/* === Create Kupa Modal === */
.create-kupa-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* ========================================
   RESPONSIVE - ORGANIZATIONS & KUPOT
   ======================================== */

@media (max-width: 1024px) {
    .kupa-layout {
        grid-template-columns: 1fr;
    }

    .kupa-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebar-card {
        flex: 1;
        min-width: 280px;
    }
}

@media (max-width: 900px) {
    .organizations-grid,
    .kupot-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .platform-stats-bar {
        gap: 30px;
    }

    .org-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .kupa-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .org-hero-stats,
    .kupa-hero-stats {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-buttons {
        justify-content: center;
    }

    .organizations-grid,
    .kupot-grid {
        grid-template-columns: 1fr;
    }

    .platform-stats-bar {
        flex-direction: column;
        gap: 20px;
    }

    .platform-stat-value {
        font-size: 1.6rem;
    }

    .org-hero-logo {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }

    .kupa-sidebar {
        flex-direction: column;
    }

    .sidebar-card {
        min-width: auto;
    }

    .share-buttons {
        flex-wrap: wrap;
    }

    .share-btn {
        flex: 1 1 calc(33% - 10px);
    }
}

@media (max-width: 480px) {
    .org-stats,
    .kupa-stats {
        flex-direction: column;
        gap: 15px;
    }

    .kupa-hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .kupa-hero-stat {
        padding: 15px 20px;
        min-width: auto;
        width: 100%;
    }

    .breadcrumb {
        font-size: 0.8rem;
    }

    .kupa-badges {
        justify-content: center;
    }

    .kupa-full-description {
        font-size: 0.95rem;
    }

    .progress-amount {
        flex-direction: column;
        gap: 3px;
    }

    .current-amount {
        font-size: 1.5rem;
    }

    .progress-percent {
        font-size: 1.1rem;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        width: 100%;
    }

    .recent-donor-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }
}
