/* ===================================================
   WEDDING PLANNER MODULE - TUFIESTA.COM.CO
   Extensión SaaS para style.css
   =================================================== */

   :root {
    --planner-bg: #f8fafc;
    --card-bg: #ffffff;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --radius-xl: 20px;
    --radius-lg: 15px;
    --radius-md: 10px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

/* --- Layout General --- */
body.planner-body {
    background-color: var(--planner-bg);
    color: var(--text-main);
    font-family: var(--font-main, 'Montserrat', sans-serif);
}

.planner-layout {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* --- Navegación Tipo Tabs (SaaS Style) --- */
.planner-navigation {
    display: flex;
    gap: 8px;
    background: white;
    padding: 8px;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    margin-bottom: 35px;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

.planner-navigation::-webkit-scrollbar { display: none; } /* Chrome/Safari */

.nav-item {
    padding: 12px 24px;
    border-radius: 30px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-item i { margin-right: 10px; font-size: 1.1rem; }

.nav-item:hover {
    color: var(--primary);
    background: rgba(29, 110, 141, 0.05);
}

.nav-item.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(29, 110, 141, 0.25);
}

/* --- Cards del Dashboard --- */
.planner-card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.planner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(29, 110, 141, 0.2);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.planner-card:hover .card-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* --- Páginas de Autenticación (Login / Registro) --- */
.auth-wrapper {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.auth-card {
    background: white;
    width: 100%;
    max-width: 480px;
    padding: 50px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid white;
}

.auth-header {
    text-align: center;
    margin-bottom: 35px;
}

.auth-header h2 {
    font-family: var(--font-serif, 'Playfair Display', serif);
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 12px;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    background: white;
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 25px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-google:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 25px;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-divider::before, .auth-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.auth-divider::before { margin-right: 15px; }
.auth-divider::after { margin-left: 15px; }

/* --- Elementos de UI --- */
.progress-wrapper { margin-top: 20px; }

.progress-bar-bg {
    background: #f1f5f9;
    height: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 10px;
    transition: width 1s cubic-bezier(0.65, 0, 0.35, 1);
}

/* Tablas Modernas */
.table-modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
}

.table-modern tr {
    background: white;
    transition: all 0.2s ease;
}

.table-modern td {
    padding: 20px;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.table-modern td:first-child {
    border-left: 1px solid #f1f5f9;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.table-modern td:last-child {
    border-right: 1px solid #f1f5f9;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.table-modern tr:hover {
    transform: scale(1.005);
    box-shadow: var(--shadow-md);
}

/* Inputs de Formulario */
.planner-input {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    border: 2px solid #f1f5f9;
    background: #f8fafc;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.planner-input:focus {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(29, 110, 141, 0.1);
    outline: none;
}

/* Botones */
.btn-planner-main {
    background: var(--primary);
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-planner-main:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(29, 110, 141, 0.3);
}

/* --- Responsividad --- */
@media (max-width: 991px) {
    .planner-layout { margin: 20px auto; }
    .auth-card { padding: 35px 25px; }
}

@media (max-width: 768px) {
    .planner-navigation {
        border-radius: 20px;
        padding: 6px;
    }
    .nav-item {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}