/* Global Styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --background-color: #f8f9fa;
}

body {
    background-color: var(--background-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Header Styles */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
}

/* Card Styles */
.card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card-title {
    color: var(--primary-color);
    font-weight: 600;
}


.dropdown-menu {
  max-height: 400px; /* ya auto */
  overflow-y: auto;
}

/* Search Bar Styles */
.input-group {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.input-group .form-control {
    border-right: none;
}

.input-group .btn {
    border-left: none;
}

/* Footer Styles */
footer {
    margin-top: auto;
}

.social-links a {
    font-size: 1.2rem;
    transition: opacity 0.2s;
}

.social-links a:hover {
    opacity: 0.8;
}

/* Tool Page Styles */
.tool-container {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tool-header {
    margin-bottom: 2rem;
}

.tool-header h1 {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .card {
        margin-bottom: 1rem;
    }
    
    .tool-container {
        padding: 1rem;
    }
}

/* Toast Notification */
.toast {
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Ad Space Styles */
.ad-container {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 1rem;
    margin: 1rem 0;
    text-align: center;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 