/* Global Styles */
:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --success-color: #4bb543;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f7ff;
    color: #333;
    line-height: 1.6;
}

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

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #4361ee 0%, #3f37c9 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.hero-section h1 {
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-box {
    max-width: 600px;
    position: relative;
    margin: 0 auto;
}

.search-box input {
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Section Titles */
.section-title {
    position: relative;
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Prompt Cards */
.prompt-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.prompt-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 1.25rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.prompt-text {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    overflow-y: auto;
    max-height: 200px;
    border: 1px solid #e9ecef;
}

.copy-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.copy-btn:hover {
    background-color: var(--secondary-color);
}

.copy-btn.copied {
    background-color: var(--success-color);
}

/* Category Filters */
#categoryFilters .btn {
    border-radius: 20px;
    padding: 0.375rem 1rem;
    font-weight: 500;
}

#categoryFilters .btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    margin-top: 4rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

/* Toast Notification */
.toast {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.toast-header {
    background-color: var(--success-color);
    color: white;
    border-radius: 8px 8px 0 0;
}

.toast-body {
    background-color: white;
    color: #333;
    border-radius: 0 0 8px 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    #categoryFilters {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 1rem;
    }
    
    #categoryFilters .btn {
        white-space: nowrap;
    }
}
