/* ============================================
   PAPAI NOEL - SISTEMA DE PRESENTES
   Estilos principais
   ============================================ */

/* Container principal */



.papainoel-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Garamond', 'Georgia', 'Times New Roman', serif;
}

/* Menu de navegação fixo */
.papainoel-nav {
    position: sticky;
    top: 0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    z-index: 100;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.papainoel-nav a {
    text-decoration: none;
    color: #333;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    background: #f5f5f5;
}

.papainoel-nav a:hover {
    background: #4CAF50;
    color: white;
    transform: translateY(-2px);
}

/* Seções */
.papainoel-section {
    margin-bottom: 50px;
    padding-top: 20px;
}

.papainoel-section-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #4CAF50;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Botões */
.papainoel-btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
}

.papainoel-btn-primary {
    background: #4CAF50;
    color: white;
}

.papainoel-btn-primary:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

.papainoel-btn-secondary {
    background: #2196F3;
    color: white;
}

.papainoel-btn-secondary:hover {
    background: #0b7dda;
}

.papainoel-btn-danger {
    background: #f44336;
    color: white;
}

.papainoel-btn-danger:hover {
    background: #da190b;
}

.papainoel-btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

/* Cards */
.papainoel-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.papainoel-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.papainoel-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

.papainoel-card-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
    font-family: 'Garamond', 'Georgia', 'Times New Roman', serif;
}

.papainoel-card-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;  /* Era 15px - REDUZIDO */
    line-height: 1.4;    /* ADICIONADO - Reduz espaço entre linhas */
    font-family: 'Garamond', 'Georgia', 'Times New Roman', serif;
}

.papainoel-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* Formulários */
.papainoel-form {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: none;
}

.papainoel-form.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.papainoel-form-group {
    margin-bottom: 20px;
}

.papainoel-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.papainoel-form-input,
.papainoel-form-textarea,
.papainoel-form-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.papainoel-form-input:focus,
.papainoel-form-textarea:focus,
.papainoel-form-select:focus {
    outline: none;
    border-color: #4CAF50;
}

.papainoel-form-textarea {
    min-height: 100px;
    resize: vertical;
}

/* Mensagens */
.papainoel-message {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.papainoel-message-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.papainoel-message-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Estado vazio */
.papainoel-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.papainoel-empty-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

/* Loading */
.papainoel-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

/* Responsivo para Mobile */
@media (max-width: 768px) {
    .papainoel-container {
        padding: 10px;
    }
    
    .papainoel-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .papainoel-nav a {
        text-align: center;
    }
    
    .papainoel-cards {
        grid-template-columns: 1fr;
    }
    
    .papainoel-section-title {
        font-size: 24px;
    }
    
    .papainoel-card-actions {
        flex-direction: column;
    }
    
    .papainoel-btn {
        width: 100%;
        text-align: center;
    }
        /* Forçar estilos customizados */
    .papainoel-container,
    .papainoel-card-title,
    .papainoel-card-meta {
        font-family: 'Garamond', 'Georgia', 'Times New Roman', serif !important;
    }
    
    .papainoel-card-meta {
        margin-bottom: 5px !important;
        line-height: 1.3 !important;
    }
    
    .papainoel-card {
        padding: 15px !important;
    }
}