/* styles.css - Custom styles for Tratok Support */
body {
    background-color: #f8f9fa;
    font-family: 'Arial', sans-serif;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 1rem;
}

.navbar-brand .logo {
    transition: transform 0.3s ease;
}

.navbar-brand .logo:hover {
    transform: scale(1.1);
}

.navbar-nav .nav-link {
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #e6f0ff;
}

.hero-section {
    background: linear-gradient(180deg, #ffffff, #f1f3f5);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.hero-logo {
    max-width: 200px;
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
}

.card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.card-title {
    font-weight: bold;
    font-size: 1.25rem;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: scale(1.05);
}

.btn-outline-primary {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-outline-primary:hover {
    transform: scale(1.05);
}

.btn-danger, .btn-success {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-danger:hover, .btn-success:hover {
    transform: scale(1.05);
}

.table {
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

.table th {
    background-color: #f1f3f5;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 1rem;
}

.table td {
    padding: 1rem;
    vertical-align: middle;
}

.table .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 12px;
}

.form-control, .form-select {
    border-radius: 5px;
    box-shadow: none;
    font-size: 1rem;
}

.form-control:focus, .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.alert {
    border-radius: 5px;
}

.reply-card {
    border-left: 4px solid #007bff;
}

.reply-own {
    border-left-color: #28a745;
    background-color: #f8fff8;
}

.reply-other {
    border-left-color: #007bff;
    background-color: #f8f9fa;
}

footer {
    border-top: 1px solid #e9ecef;
}

/* Mobile optimizations */
@media (max-width: 576px) {
    .hero-section, .card {
        padding: 1.5rem;
    }

    .hero-logo {
        max-width: 150px;
    }

    .display-4 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1rem;
    }

    .btn-lg {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
    }

    .table-responsive {
        font-size: 0.9rem;
    }

    .table th, .table td {
        padding: 0.75rem;
    }

    .table .btn-sm {
        padding: 0.5rem 1rem;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .form-control, .form-select, textarea.form-control {
        font-size: 0.9rem;
    }

    .reply-card {
        font-size: 0.9rem;
    }

    .modal-content {
        padding: 1rem;
    }

    .modal-title {
        font-size: 1.25rem;
    }
}

/* Ensure consistency with email template */
a.button {
    display: inline-block;
    padding: 12px 24px;
    background: #007bff;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

a.button:hover {
    background: #0056b3;
}