:root {
    --primary-color: #D8906D;
    --secondary-color: #F1EAE3;
    --accent-color: #EFE8DB;
    --text-color: #3A3A3A;
    --secondary-text: #666666;
    --background-color: #F9F5EF;
}

/* Estilos para la página del foro */
.forum-header {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.forum-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.forum-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    opacity: 0.9;
}

.forum-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.search-box input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.search-box button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 1.2rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.filter-options select {
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    background-color: white;
}

.forum-topics {
    margin-bottom: 2rem;
}

.topic-item {
    display: flex;
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.topic-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.topic-icon {
    margin-right: 1.5rem;
    color: var(--primary-color);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
}

.topic-content {
    flex: 1;
}

.topic-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.topic-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.topic-content h3 a:hover {
    color: var(--primary-color);
}

.topic-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.topic-author a, .last-reply a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.topic-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.topic-stats span {
    display: flex;
    align-items: center;
}

.topic-stats i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.forum-pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.forum-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 0.3rem;
    border-radius: 4px;
    background-color: white;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.forum-pagination a.active {
    background-color: var(--primary-color);
    color: white;
}

.forum-pagination a:hover:not(.active) {
    background-color: #f0f0f0;
}

.forum-pagination a.next {
    width: auto;
    padding: 0 1rem;
}

.forum-pagination a.next i {
    margin-left: 0.5rem;
}

/* Estilos para el modal de nuevo tema */
#newTopicModal .modal-content {
    max-width: 600px;
}

#newTopicModal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

#newTopicModal .modal-header h2 {
    margin: 0;
    color: var(--primary-color);
}

#newTopicModal .form-group {
    margin-bottom: 1.5rem;
}

#newTopicModal label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

#newTopicModal input,
#newTopicModal select,
#newTopicModal textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

#newTopicModal textarea {
    resize: vertical;
    min-height: 150px;
}

/* Responsive */
@media (max-width: 768px) {
    .forum-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .topic-item {
        flex-direction: column;
    }
    
    .topic-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .topic-meta, .topic-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.forum-container {
    background-color: var(--background-color);
}

.forum-title {
    color: var(--primary-color);
}

.forum-post {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.forum-post .author {
    color: var(--secondary-text);
}

.forum-post .date {
    color: var(--secondary-text);
}

.forum-reply {
    background-color: var(--accent-color);
}

.reply-btn {
    background-color: var(--primary-color);
    color: #fff;
}

.reply-btn:hover {
    background-color: var(--accent-color);
} 