/* General Styles */
body {
    /* Bengali-first stack (see jflit-ui.css tokens). Kept in sync so this file
       never pulls Bengali text into a Latin-only system font. */
    font-family: var(--jfl-font-family, 'Inter', 'Noto Sans Bengali', system-ui, sans-serif);
    line-height: 1.6;
    color: #333;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Buttons */
.btn-primary {
    background-color: #6e8efb;
    border-color: #6e8efb;
}

.btn-primary:hover {
    background-color: #5a7de9;
    border-color: #5a7de9;
}

/* Tutor Profile */
.tutor-profile {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.tutor-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

/* Rating Stars */
.rating {
    color: #ffc107;
}

/* Booking Form */
.booking-form {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 2rem;
}

/* Messages */
.message-list {
    max-height: 500px;
    overflow-y: auto;
}

.message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 10px;
}

.message.sent {
    background-color: #e3f2fd;
    margin-left: 2rem;
}

.message.received {
    background-color: #f5f5f5;
    margin-right: 2rem;
}

/* Dashboard */
.dashboard-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.dashboard-card h3 {
    color: #6e8efb;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: #f8f9fa;
    padding: 3rem 0;
}

.social-links a {
    color: #6e8efb;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #5a7de9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .tutor-avatar {
        width: 100px;
        height: 100px;
    }
}

/* Authentication Modals */
.modal-content {
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

.modal-title {
    font-weight: 600;
    color: #333;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: none;
    padding-top: 0;
}

.form-label {
    font-weight: 500;
    color: #555;
}

.form-control {
    border-radius: 5px;
    padding: 0.75rem;
    border: 1px solid #ddd;
}

/* .form-select-ও .form-control-এর সমান উচ্চতা পায় — আগে শুধু input প্যাডিং
   পেত, তাই select (৩৮px) আর input (৫০px) মিলত না। ডানে তীরের জায়গা রাখা হয়। */
.form-select {
    border-radius: 5px;
    padding: 0.75rem 2.25rem 0.75rem 0.75rem;
    border: 1px solid #ddd;
}

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

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

.btn-primary {
    padding: 0.75rem;
    font-weight: 500;
    border-radius: 5px;
}

.alert {
    border-radius: 5px;
    margin-bottom: 1rem;
}

/* Switch links */
.modal-footer a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
}

.modal-footer a:hover {
    text-decoration: underline;
}

/* Form validation */
.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .modal-content {
        border-radius: 8px;
    }
} 