/* Modern Minimalist Index Page Styles */
.modern-index-container {
    min-height: 94vh;
    height: 100dvh;
    background: #fafbfc;
    font-family: "Figtree", sans-serif;
    padding: 1.5rem 0;
}
    .modern-index-container .container {
        box-sizing: border-box;
    }
/* Header Styles - Minimalist */
.header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(20px);
}

.brand-container {
    display: flex;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.brand-logo {
    width: 250px;
    height: auto;
}

.brand-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #1f2937;
    margin: 0;
    letter-spacing: -0.025em;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.welcome-text {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 400;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.guest-actions {
    display: flex;
    align-items: center;
}

/* Applications Section - Clean & Minimal */
.applications-section {
    flex: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.section-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    font-weight: 400;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Uniform Cards */
.application-card {
    transition: all 0.2s ease;
    position: relative;
    height: 100%;
}

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

.application-card .card {
    border-radius: 12px !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px);
    transition: all 0.2s ease;
    height: 100%;
    min-height: 120px; /* Altura mínima uniforme */
}

.application-card:hover .card {
    border-color: rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.card-content {
    padding: 1.25rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.875rem !important;
    position: relative !important;
    height: 100%;
    min-height: 120px; /* Altura mínima uniforme */
}

/* Uniform App Logos */
.app-logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.app-logo img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.app-logo-placeholder {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    color: #6b7280;
}

.app-icon {
    font-size: 1.125rem;
}

.app-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.app-title {
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: #1f2937 !important;
    margin: 0 0 0.25rem 0 !important;
    line-height: 1.4 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.app-url {
    font-size: 0.75rem !important;
    color: #9ca3af !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-arrow {
    color: #9ca3af;
    font-size: 0.875rem;
    opacity: 0.6;
    transition: all 0.2s ease;
    font-weight: 400;
    flex-shrink: 0;
}

.application-card:hover .card-arrow {
    opacity: 1;
    color: #6b7280;
    transform: translateX(2px);
}

/* No Applications State - Minimalist */
.no-applications {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(20px);
}

.no-apps-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.no-applications h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.no-applications p {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
    font-weight: 400;
}

/* Minimalist Button Styles */
.custom-btn.btn-outline {
    background: rgba(255, 255, 255, 0.8) !important;
    color: #374151 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    padding: 0.375rem 0.875rem !important;
    font-weight: 500 !important;
    font-size: 0.75rem !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    backdrop-filter: blur(10px);
}

.custom-btn.btn-outline:hover {
    background: #f9fafb !important;
    border-color: #d1d5db !important;
    color: #1f2937 !important;
    transform: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.custom-btn.btn-primary {
    background: #1f2937 !important;
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 0.375rem 0.875rem !important;
    font-weight: 500 !important;
    font-size: 0.75rem !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.custom-btn.btn-primary:hover {
    background: #111827 !important;
    transform: none;
    box-shadow: 0 2px 8px rgba(31, 41, 55, 0.2);
}

/* Subtle animations */
.application-card {
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
    transform: translateY(10px);
}

.application-card:nth-child(1) { animation-delay: 0.05s; }
.application-card:nth-child(2) { animation-delay: 0.1s; }
.application-card:nth-child(3) { animation-delay: 0.15s; }
.application-card:nth-child(4) { animation-delay: 0.2s; }
.application-card:nth-child(5) { animation-delay: 0.25s; }
.application-card:nth-child(6) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-index-container {
        padding: 1rem;
    }
    
    .header-section {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .user-menu {
        align-items: center;
    }
    
    .applications-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .card-content {
        padding: 1rem !important;
        min-height: 100px !important;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.375rem;
    }
    
    .custom-btn {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    .user-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .card-content {
        gap: 0.75rem !important;
    }
    
    .app-logo {
        width: 40px;
        height: 40px;
    }
    
    .app-logo img {
        width: 24px;
        height: 24px;
    }
}
