:root {
    --primary-color: #184004;
    --secondary-color: #317312;
    --accent-color: #4a8f1d;
    --text-color: #333;
    --background-color: #f5f5f5;
    --card-background: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --primary-light: #317312;
    --primary-lighter: #ecf7ed;
    --primary-dark: #0d2601;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-700: #495057;
    --danger: #dc3545;
    --success: #28a745;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px var(--shadow-color);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.back-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: var(--transition);
}

.back-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateX(-4px);
}

.back-button i {
    font-size: 0.9rem;
}

.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.mobile-nav {
    margin-top: 1rem;
}

.filters {
    display: flex;
    gap: 1rem;
    max-width: 1200px;
    margin: 1rem auto;
    padding: 0 1rem;
}

.search-container, .date-filter-container {
    position: relative;
    flex: 1;
}

.search-container i, .date-filter-container i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-color);
    opacity: 0.5;
}

input[type="text"], select {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background-color: var(--card-background);
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    cursor: pointer;
}

input[type="text"]:focus, select:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 2px rgba(24, 64, 4, 0.1);
}

select option {
    padding: 0.5rem;
    background-color: var(--card-background);
}

select option:hover {
    background-color: var(--primary-lighter);
}

.schedule-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.day-group {
    background: var(--card-background);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px var(--shadow-color);
    overflow: hidden;
}

.day-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.day-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.day-date {
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
}

.cultos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.5rem;
    padding: 0.5rem;
}

.culto-card {
    background: var(--card-background);
    border-radius: 6px;
    padding: 0.5rem;
    box-shadow: 0 1px 3px var(--shadow-color);
    transition: transform 0.2s ease;
}

.culto-card:hover {
    transform: translateY(-2px);
}

.culto-header {
    margin-bottom: 0.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--gray-200);
}

.culto-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

.culto-time {
    font-size: 0.85rem;
    color: var(--white);
    background: var(--primary-color);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    display: inline-block;
    margin-top: 0.3rem;
}

.team-member {
    display: flex;
    align-items: center;
    margin-bottom: 0.3rem;
    padding: 0.3rem;
    border-radius: 4px;
    background: var(--gray-100);
    font-size: 0.85rem;
    gap: 0.6rem;
}

.team-role {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--primary-color);
    font-weight: 500;
    min-width: 90px;
    font-size: 0.85rem;
}

.team-member span:last-child {
    color: var(--gray-700);
    flex: 1;
}

.team-role i {
    width: 16px;
    opacity: 0.8;
    margin-right: 0.3rem;
}

.team-role i.fa-video-camera {
    color: var(--primary-color);
}

.team-role i.fa-cut {
    content: "\f03d"; /* Ícone de vídeo */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .filters {
        flex-direction: column;
    }

    .mobile-nav {
        display: none;
    }

    .mobile-nav.active {
        display: block;
    }

    .day-group {
        margin-bottom: 1rem;
    }

    .day-header {
        padding: 0.75rem;
    }

    .day-title {
        font-size: 1.1rem;
    }

    .day-date {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }

    .cultos-grid {
        grid-template-columns: 1fr;
        gap: 0.4rem;
        padding: 0.4rem;
    }

    .culto-card {
        padding: 0.4rem;
    }

    .culto-header {
        margin-bottom: 0.6rem;
    }

    .team-member {
        padding: 0.25rem;
        margin-bottom: 0.25rem;
        gap: 0.5rem;
    }

    .team-role {
        min-width: 85px;
    }

    .culto-time {
        font-size: 0.85rem;
        padding: 0.2rem 0.6rem;
    }

    select {
        padding: 0.7rem 1rem 0.7rem 2.5rem;
        font-size: 0.9rem;
    }

    .team-role i {
        width: 14px;
        margin-right: 0.2rem;
    }
}

@media (min-width: 769px) {
    .mobile-nav {
        display: block !important;
    }
}