:root {
    --primary-color: #008542; /* Φαρμακευτικό Πράσινο */
    --secondary-color: #e67e22; /* Πορτοκαλί για διημερεύοντα */
    --bg-color: #f4f7f6;
    --text-color: #333;
    --card-bg: #ffffff;
    --ad-bg: #fff8e1;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    color: var(--text-color);
}

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

header {
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.8rem;
}

.date-display {
    font-size: 1.1rem;
    color: #666;
    margin-top: 5px;
    font-weight: 500;
}

/* Tabs */
.tabs {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 10px;
    margin-bottom: 20px;
    scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }

.tab-btn {
    background: #e0e0e0;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}
.tab-btn.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 6px rgba(0, 133, 66, 0.3);
}

/* Cards */
.cards-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.featured-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-top: 5px solid var(--primary-color);
    position: relative;
}

.featured-card h3 {
    margin: 5px 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.address {
    color: #555;
    margin-bottom: 15px;
    font-size: 1rem;
}

.big-phone {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin: 15px 0;
    text-decoration: none;
    color: var(--primary-color); /* Προστέθηκε για σιγουριά */
}

.featured-actions { display: flex; gap: 10px; }

.btn-large {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn-call-large { background-color: var(--primary-color); color: white; }
.btn-map-large { background-color: #f0f0f0; color: #333; border: 1px solid #ddd; }

/* Χωριά */
.village-list { margin-top: 20px; }

.location-row {
    background: white;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
}

.location-header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.has-pharmacy .location-header { background-color: #f9fff9; }
.village-name { font-weight: bold; display: block; }
.pharmacy-preview { font-size: 0.9rem; color: var(--primary-color); margin-top: 2px; }

.location-details {
    max-height: 0;
    transition: max-height 0.3s ease-out;
    background: #fafafa;
    border-top: 1px solid #eee;
    overflow: hidden;
}

.details-content { padding: 15px; }

/* Ticker */
.ticker-wrap {
    width: 100%;
    background-color: #d32f2f;
    color: white;
    overflow: hidden;
    height: 40px;
    line-height: 40px;
}

.ticker {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 25s linear infinite;
    padding-left: 100%;
}

@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

.divider { border: 0; border-top: 1px solid #ddd; margin: 30px 0; }
.section-subtitle { color: #777; font-size: 1.1rem; margin-bottom: 15px; }

/* Διαφήμιση */
.bottom-ad {
    margin-top: 30px;
    text-align: center;
    /* Αφαιρέσαμε το padding/border για να μην φαίνεται το κουτί όταν είναι κενό */
}
