/* YCCUON Fundraiser System Global Styles */

/* Variables */
:root {
    --yccuon-green: #00a651;
    --yccuon-green-hover: #008c44;
    --yccuon-dark: #1a1a1a;
    --yccuon-gray: #f9fbfd;
    --yccuon-text: #333;
    --yccuon-text-light: #777;
    --shadow-soft: 0 5px 20px rgba(0,0,0,0.05);
    --shadow-hover: 0 10px 25px rgba(0,0,0,0.1);
}

/* Global Container */
.yccuon-wrapper {
    background: var(--yccuon-gray);
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    padding-bottom: 50px;
}

.yccuon-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Profile/Campaign Hero */
.yccuon-hero {
    background: #fff;
    padding: 60px 0 40px;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 40px;
    text-align: center;
}

.yccuon-hero.profile-mode {
    background: linear-gradient(135deg, var(--yccuon-green) 0%, var(--yccuon-green-hover) 100%);
    color: white;
}
.yccuon-hero.profile-mode h1,
.yccuon-hero.profile-mode p {
    color: white;
}

.yccuon-hero h1 {
    font-size: 2.5rem;
    color: var(--yccuon-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.yccuon-hero p {
    font-size: 1.1rem;
    color: var(--yccuon-text-light);
}

/* Grid Layout */
.yccuon-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Cards */
.yccuon-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.yccuon-card h2 {
    margin-top: 0;
    color: var(--yccuon-dark);
}

.yccuon-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--yccuon-text);
}
.yccuon-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Donation Sidebar */
.yccuon-sidebar h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--yccuon-dark);
    font-weight: 600;
    border-left: 4px solid var(--yccuon-green);
    padding-left: 10px;
}

/* Donation Plan Cards */
.donation-plan-card {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.donation-plan-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--yccuon-green);
}

.plan-header {
    padding: 20px 20px 10px;
    text-align: center;
    border-bottom: 1px solid #f5f5f5;
    background: #fafafa;
}

.plan-header h4 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--yccuon-dark);
    font-weight: 700;
}

.plan-desc {
    font-size: 0.9rem;
    color: var(--yccuon-text-light);
    margin: 5px 0 0;
    font-style: italic;
}

.plan-body {
    padding: 20px;
    text-align: center;
}

.plan-price {
    font-size: 2rem;
    color: var(--yccuon-green);
    font-weight: 800;
    margin-bottom: 15px;
}

.btn-yccuon {
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: var(--yccuon-green);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    text-align: center;
}

.btn-yccuon:hover {
    background: var(--yccuon-green-hover);
    color: #fff;
}

/* Helpers */
.tag-latest {
    display: inline-block;
    background: #e6f7ee;
    color: var(--yccuon-green);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.meta-date {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

/* Mobile */
@media (max-width: 850px) {
    .yccuon-grid { grid-template-columns: 1fr; }
    .yccuon-sidebar { order: -1; margin-bottom: 40px; }
}
