/* Common Styles */

/* Custom Navbar Styles */
.navbar-custom {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
    color: #f2f2f2 !important;
    font-size: 1.35rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.navbar-custom .nav-link:hover {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

.navbar-toggler {
    border-color: #f2f2f2;
}

.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%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Container responsive padding */
.container {
    max-width: 100% !important;
    padding: 1rem;
}

/* Overall page width control */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    scroll-behavior: smooth;
}

/* Common link styles */
a {
    transition: color 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Toast custom styles */
#app-toast {
    min-width: 400px;
    max-width: 500px;
    font-size: 1.1rem;
}

#app-toast .toast-header {
    font-size: 1.2rem;
    padding: 0.75rem 1rem;
}

#app-toast .toast-body {
    font-size: 1.1rem;
    padding: 1rem;
    line-height: 1.6;
}

#app-toast .bi {
    font-size: 1.3rem;
}

/* Mobile navigation adjustments */
@media (max-width: 768px) {
    .navbar-custom .nav-link {
        font-size: 1rem;
        padding: 0.5rem;
    }
    
    #app-toast {
        min-width: 320px;
        max-width: 90vw;
        font-size: 1rem;
    }
    
    #app-toast .toast-header {
        font-size: 1.1rem;
    }
    
    #app-toast .toast-body {
        font-size: 1rem;
    }
}
