/* 1. OGÓLNE I KONTENER */
.depression-resources {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #334e68;
    position: relative;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

/* 2. PRZYCISK POMOCY (ID I KLASA) */
#pomoc-psychologiczna {
    position: absolute;
    top: 72px;
    right: 25px;
    z-index: 100000;
}

.pomoc-psych-btn {
    display: inline-flex;
    align-items: center;
    background-color: #5bc0de;
    color: white !important;
    padding: 5px 15px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.pomoc-psych-btn:hover {
    background-color: #31b0d5;
    transform: scale(1.05);
    text-decoration: none;
}


.pomoc-psych-btn::before {
    content: "❤";
    margin-right: 8px;
    color: brown
}
.pomoc-psych-btn-baner::before {
    content: "❤";
    margin-right: 8px;
    color: brown
}

/* 3. KAFELKI (CARDS) */
.resource-card {
    border-radius: 20px;
    padding: 25px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 180px;
    border: 1px solid rgba(0,0,0,0.05);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.resource-card h3 {
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    color: #1a5e63;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 4. LISTY I LINKI W KAFELKACH */
.resource-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.resource-card li {
    margin-bottom: 10px;
    line-height: 1.4;
}

.resource-card a {
    text-decoration: none;
    color: #243b53;
    font-weight: 600;
}

.resource-card a:hover {
    text-decoration: underline;
}

/* 5. WARIANTY KAFELKÓW */
.card-blue { background: linear-gradient(135deg, #c3e6cb 0%, #d1e9ff 100%); }
.card-yellow { background: #fff4d1; border: 2px solid #a5c8ff; }
.card-white { background: #ffffff; border: 1px solid #e1e1e1; }

.card-schedule {
    background: #fff;
    border: 2px dashed #b73232;
}

/* 6. TABELA GODZIN */
.schedule-table {
    width: 100%;
    font-size: 14px;
    border-collapse: collapse;
}

.schedule-table td {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.schedule-table td:last-child {
    text-align: right;
    font-weight: bold;
    color: #b73232;
}

.icon-top {
    font-size: 1.5rem;
    opacity: 0.7;
}

/* 7. OBSŁUGA SMARTFONÓW */
@media (max-width: 767px) {
    #pomoc-psychologiczna {
        top: 10px;
        right: 0;
        left: 0;
        width: 100%;
        text-align: center; /* Wycentrowanie przycisku na mobilkach */
        position: relative; /* Zmiana na relative, żeby nie zasłaniało menu jeśli trzeba */
    }

    .pomoc-psych-btn {
        font-size: 11px !important;
        padding: 6px 12px !important;
    }

    .resource-grid {
        grid-template-columns: 1fr; /* Jedna kolumna na telefonie */
    }
}