/* Simple old-school website styles */

:root {
    --primary-color: #333333;
    --secondary-color: #666666;
    --light-grey: #f5f5f5;
    --medium-grey: #e0e0e0;
    --dark-grey: #999999;
    --white: #ffffff;
    --border-color: #cccccc;
}

body {
    background: #ffffff;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    color: #333333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Container styling */
.container {
    background: #ffffff;
}

/* Card styling */
.card {
    background: var(--light-grey);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 20px;
}

.card-title {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 10px;
}

.card-text {
    color: var(--secondary-color);
}

/* Button styling */
.btn {
    border-radius: 4px;
    padding: 10px 20px;
    font-weight: normal;
    text-decoration: none;
    display: inline-block;
    border: 1px solid;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-secondary {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}

.btn-secondary:hover {
    background-color: #0056b3;
    border-color: #004085;
    color: white;
    text-decoration: none;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
    color: white;
    text-decoration: none;
}

.btn-outline-secondary {
    background-color: transparent;
    border-color: #6f42c1;
    color: #6f42c1;
}

.btn-outline-secondary:hover {
    background-color: #6f42c1;
    border-color: #6f42c1;
    color: white;
    text-decoration: none;
}

/* Additional colorful button styles */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #004085;
    color: white;
    text-decoration: none;
}

/* Enhanced Language Selector Styles */
.language-selector-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.language-selector-container.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Additional button color variants for sidebar */
.btn-outline-purple {
    color: #6f42c1;
    border-color: #6f42c1;
}

.btn-outline-purple:hover {
    color: #fff;
    background-color: #6f42c1;
    border-color: #6f42c1;
}

.btn-outline-orange {
    color: #fd7e14;
    border-color: #fd7e14;
}

.btn-outline-orange:hover {
    color: #fff;
    background-color: #fd7e14;
    border-color: #fd7e14;
}

/* AdSense styling improvements */
.adsbygoogle {
    margin: 10px 0;
}

/* Responsive ad adjustments */
@media (max-width: 991.98px) {
    .col-lg-4 .sticky-top {
        position: relative !important;
        top: auto !important;
    }
}

/* Card sizing optimization - Show full text */
.tool-card .card-text {
    line-height: 1.4;
    margin-bottom: 1rem;
}

.tool-card .card-body {
    padding: 1.25rem;
    min-height: 220px;
}

.tool-card h5 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

/* Ensure equal height cards in rows */
.card-equal-height {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-equal-height .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Better text spacing for readability */
.tool-card .card-text {
    flex-grow: 1;
    display: flex;
    align-items: center;
    text-align: center;
}

.language-dropdown .btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: 2px solid #004085;
    color: white;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0, 123, 255, 0.2);
    transition: all 0.3s ease;
}

.language-dropdown .btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    border-color: #002752;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.language-dropdown .dropdown-menu {
    border: 2px solid #007bff;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: white;
    padding: 8px 0;
}

.language-dropdown .dropdown-header {
    color: #007bff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 5px;
}

.language-dropdown .dropdown-item {
    padding: 10px 20px;
    font-weight: 500;
    color: #333;
    transition: all 0.2s ease;
}

.language-dropdown .dropdown-item:hover {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    transform: translateX(5px);
}

.language-dropdown .dropdown-item.active {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    font-weight: 700;
}

.language-help-text {
    color: #6c757d;
    font-size: 0.875rem;
    font-weight: 500;
}

.language-help-text .fas {
    color: #007bff;
}

.btn-purple {
    background-color: #6f42c1;
    border-color: #6f42c1;
    color: white;
    border-radius: 4px;
    padding: 10px 20px;
    font-weight: normal;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-purple:hover {
    background-color: #5a32a3;
    border-color: #4e2a8e;
    color: white;
    text-decoration: none;
}

/* Breadcrumb styling */
.breadcrumb {
    background-color: transparent;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #007bff;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--secondary-color);
}

/* Skip to content link for accessibility */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: 0.25rem 0.5rem !important;
    margin: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
    background-color: #007bff !important;
    color: white !important;
    text-decoration: none !important;
    z-index: 1000 !important;
}

/* Form styling */
.form-control {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 8px 12px;
    color: var(--primary-color);
}

.form-control:focus {
    background: #ffffff;
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: 0;
    color: var(--primary-color);
}

.form-label {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 5px;
}

.form-text {
    color: var(--dark-grey);
    font-size: 0.875em;
}

.form-check-input {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.form-check-input:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-check-label {
    color: var(--primary-color);
}

/* Alert styling */
.alert {
    padding: 12px 16px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f1aeb5;
}

/* Text colors */
.text-muted {
    color: var(--dark-grey) !important;
}

.text-success {
    color: #28a745 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-primary {
    color: #007bff !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

/* Header styling */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    font-weight: bold;
}

.display-4 {
    font-size: 2.5rem;
    font-weight: 300;
}

.display-6 {
    font-size: 2rem;
    font-weight: 300;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

/* Icon styling - remove all fancy effects */
.fas, .fa {
    color: var(--secondary-color);
}

/* Remove all animations and transitions */
* {
    animation: none !important;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

/* Simple hover effects only */
.card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Progress bar styling */
.progress {
    background-color: var(--light-grey);
    border-radius: 4px;
    height: 20px;
}

.progress-bar {
    background-color: #007bff;
    border-radius: 4px;
}

/* Border utilities */
.border-success {
    border-color: #28a745 !important;
}

.border-danger {
    border-color: #dc3545 !important;
}

/* File input styling */
.form-control[type="file"] {
    padding: 6px 12px;
}

/* Loading states */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Simple table styling if needed */
.table {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
}

.table th {
    background-color: var(--light-grey);
    border-bottom: 2px solid var(--border-color);
    color: var(--primary-color);
    font-weight: bold;
}

.table td {
    border-top: 1px solid var(--border-color);
    color: var(--primary-color);
}

/* Simple responsive utilities */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-6 {
        font-size: 1.5rem;
    }
}

/* File upload area styling */
.file-upload-area {
    border-color: #dee2e6 !important;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-upload-area:hover {
    border-color: #007bff !important;
    background-color: #e7f3ff;
}

.file-upload-area.dragover {
    border-color: #007bff !important;
    background-color: #e7f3ff;
    transform: scale(1.02);
}

.file-upload-area.dragover .upload-content {
    color: #007bff;
}

/* File list styling */
.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background-color: #ffffff;
}

.file-item.valid {
    border-color: #198754;
    background-color: #d1e7dd;
}

.file-item.invalid {
    border-color: #dc3545;
    background-color: #f8d7da;
}

.file-info {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.file-icon {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.file-details {
    flex-grow: 1;
}

.file-name {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.file-size {
    font-size: 0.875rem;
    color: #6c757d;
}

.file-status {
    margin-left: auto;
    padding-left: 1rem;
}

.remove-file {
    border: none;
    background: none;
    color: #dc3545;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem;
    margin-left: 0.5rem;
}

.remove-file:hover {
    color: #b02a37;
}

/* Landing page button adjustments */
.card .btn {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 1rem;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    letter-spacing: 0.025em;
}

/* Responsive button adjustments */
@media (max-width: 992px) {
    .card .btn {
        font-size: 0.95rem;
        padding: 0.6rem 0.8rem;
        min-height: 2.8rem;
    }
}

@media (max-width: 768px) {
    .card .btn {
        font-size: 0.9rem;
        padding: 0.5rem 0.7rem;
        min-height: 2.5rem;
    }
}

@media (max-width: 576px) {
    .card .btn {
        font-size: 0.85rem;
        padding: 0.5rem 0.6rem;
        min-height: 2.3rem;
    }
}

@media (max-width: 480px) {
    .card .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.5rem;
        min-height: 2.2rem;
    }
}

/* Dark red button style */
.btn-dark-red {
    background-color: #8b0000;
    border-color: #8b0000;
    color: white;
}

.btn-dark-red:hover {
    background-color: #660000;
    border-color: #660000;
    color: white;
    text-decoration: none;
}

/* Orange button style */
.btn-orange {
    background-color: #ff6600;
    border-color: #ff6600;
    color: white;
    font-weight: 600;
}

.btn-orange:hover {
    background-color: #e55a00;
    border-color: #e55a00;
    color: white;
    text-decoration: none;
}

/* Remove card highlighting */
.card:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: none;
}

.card {
    transition: none;
}