/*
Theme Name: প্রশ্ন বিনিময়
Theme URI: https://proshnobinimoy.com
Author: ProshnoBinimoy Team
Author URI: https://proshnobinimoy.com
Description: একটি সম্পূর্ণ ডায়নামিক প্রশ্নোত্তর প্ল্যাটফর্ম - প্রশ্ন করুন, উত্তর দিন, জ্ঞান বিনিময় করুন
Version: 1.0.0
License: GPL v2 or later
Text Domain: proshnobinimoy
Domain Path: /languages
Tags: question-answer, community, forum, knowledge-base, bangla
*/

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans Bengali', 'Inter', system-ui, sans-serif;
    background-color: #f3f4f6;
    color: #1f2937;
    line-height: 1.5;
}

/* ===== Container ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: #059669;
    transition: all 0.3s ease;
}

a:hover {
    color: #10b981;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #059669, #0d9488);
    color: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #10b981, #14b8a6);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.btn-secondary:hover {
    background-color: #e5e7eb;
}

.btn-outline {
    background: transparent;
    border: 1px solid #d1d5db;
    color: #4b5563;
}

.btn-outline:hover {
    border-color: #059669;
    color: #059669;
}

/* ===== Cards ===== */
.card {
    background: white;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* ===== Badges ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 600;
}

/* ===== Forms ===== */
input, textarea, select {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #059669;
    ring: 2px solid #059669;
}

/* ===== Toast Notifications ===== */
.toast-notify {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    background: #1f2937;
    color: white;
    padding: 0.625rem 1.125rem;
    border-radius: 2rem;
    font-size: 0.8125rem;
    z-index: 9999;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.2s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(1.25rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Loading Spinner ===== */
.spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid #e5e7eb;
    border-top-color: #059669;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .card {
        border-radius: 0.75rem;
    }
}

/* ===== Utility Classes ===== */
.text-emerald { color: #059669; }
.bg-emerald { background-color: #059669; }
.text-gray-dark { color: #1f2937; }
.text-gray-light { color: #6b7280; }