/* Custom styles for Legit Identifier */

/* Font Awesome Fallback - Basic Icon Styles */
.fas, .far, .fab {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

/* Fallback for common icons if Font Awesome fails to load */
.fa-star:before { content: "★"; }
.fa-heart:before { content: "♥"; }
.fa-user:before { content: "👤"; }
.fa-envelope:before { content: "✉"; }
.fa-search:before { content: "🔍"; }
.fa-thumbs-up:before { content: "👍"; }
.fa-flag:before { content: "🚩"; }
.fa-reply:before { content: "↩"; }
.fa-edit:before { content: "✏"; }
.fa-shield-alt:before { content: "🛡"; }
.fa-paper-plane:before { content: "✈"; }
.fa-info-circle:before { content: "ℹ"; }
.fa-exclamation-triangle:before { content: "⚠"; }
.fa-check-circle:before { content: "✓"; }
.fa-times-circle:before { content: "✗"; }

/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

/* Navigation - Trustpilot Style */
.navbar {
    background: #ffffff !important;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #1a1a1a !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #1a1a1a !important;
    transition: color 0.2s ease;
    padding: 8px 16px;
}

.navbar-nav .nav-link:hover {
    color: #00b67a !important;
}

.navbar-toggler {
    border: none !important;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2826, 26, 26, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Navbar Fixes */
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #e9ecef;
    }
    
    .navbar-nav {
        width: 100%;
    }
    
    .navbar-nav.me-auto {
        margin-bottom: 0.5rem;
    }
    
    .navbar-nav.d-flex {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    
    .navbar-nav .nav-item {
        width: 100%;
        margin-bottom: 0.25rem;
    }
    
    .navbar-nav .nav-item.me-lg-3 {
        margin-right: 0 !important;
        margin-bottom: 0.5rem;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 16px;
        width: 100%;
        display: block;
        border-radius: 4px;
        transition: all 0.2s ease;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: #f8f9fa;
    }
    
    .navbar-nav .nav-item:last-child .nav-link {
        margin-bottom: 0;
    }
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: box-shadow 0.15s ease-in-out;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Buttons */
.btn {
    font-weight: 500;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: #00b67a;
    border-color: #00b67a;
}

.btn-primary:hover {
    background-color: #00a66b;
    border-color: #00a66b;
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 40px 0;
    margin-top: 60px;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
}
