/* static/css/style.css */
:root {
    --primary-color: #c41e3a;
    --primary-dark: #a01830;
    --secondary-color: #165b33;
    --accent-color: #ffd700;
    --light-accent: #fff8dc;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --light-bg: #fffaf0;
    --border-color: #e5e7eb;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--light-bg) 0%, #faf0e6 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(165, 42, 42, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

main {
    position: relative;
    z-index: 1;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    position: relative;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-image:
        linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 25%, transparent 50%, rgba(255, 255, 255, 0.1) 75%, transparent 100%);
    background-size: 200% 100%;
    animation: navShimmer 3s infinite;
    pointer-events: none;
}

@keyframes navShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar .nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.navbar .nav-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    position: relative;
}

.navbar .nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar .nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.navbar .nav-links a:hover::before {
    width: 80%;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem 0;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0;
    position: relative;
    background: radial-gradient(ellipse 80% 80% at 50% 20%, rgba(255, 215, 0, 0.1), transparent),
                radial-gradient(ellipse 80% 80% at 80% 80%, rgba(196, 30, 58, 0.05), transparent);
    border-radius: 20px;
    margin: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* CTA Section */
.cta-section, .info-section {
    background: linear-gradient(135deg, #ffffff 0%, var(--light-accent) 100%);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    margin: 2rem 0;
    border: 2px solid rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), var(--primary-color), transparent);
    animation: borderFlow 3s infinite;
}

@keyframes borderFlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.cta-section h2, .info-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.feature {
    background: linear-gradient(135deg, #ffffff 0%, var(--light-accent) 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature:hover {
    transform: translateY(-8px) rotateZ(1deg);
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.15);
    border-color: var(--accent-color);
}

.feature:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.3s ease;
}

.feature:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
}

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.feature p {
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.4);
}

.btn-secondary {
    background: var(--text-secondary);
    color: white;
}

.btn-secondary:hover {
    background: var(--text-primary);
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.25rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Forms */
.form-container {
    max-width: 600px;
    margin: 2rem auto;
    background: linear-gradient(135deg, #ffffff 0%, var(--light-accent) 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(255, 215, 0, 0.3);
    position: relative;
}

.form-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle at 30% 30%, #ffd700, #daa520);
    border-radius: 50%;
    opacity: 0.3;
}

.form-container::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle at 30% 30%, #c41e3a, #8b0000);
    border-radius: 50%;
    opacity: 0.2;
}

.form-container h1 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.form-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
    background: white;
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.form-help {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.form-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.form-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

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

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1100;
    max-width: 400px;
}

.alert {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid var(--success-color);
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid var(--danger-color);
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border-left: 4px solid var(--warning-color);
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border-left: 4px solid var(--info-color);
}

.close-alert {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.5;
    transition: var(--transition);
}

.close-alert:hover {
    opacity: 1;
}

/* Success Container */
.success-container {
    max-width: 700px;
    margin: 2rem auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.success-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.success-message {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.info-box {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: left;
}

.info-box h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.checklist li:last-child {
    border-bottom: none;
}

.your-details {
    margin: 2rem 0;
    text-align: left;
}

.details-table {
    width: 100%;
    margin-top: 1rem;
}

.details-table td {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.details-table tr:last-child td {
    border-bottom: none;
}

/* Dashboard */
.dashboard-header {
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(196, 30, 58, 0.05));
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.dashboard-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.dashboard-card {
    background: linear-gradient(135deg, #ffffff 0%, var(--light-accent) 100%);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 215, 0, 0.2);
    position: relative;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg, transparent 0%, rgba(255, 215, 0, 0.05) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.dashboard-card:hover {
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.15);
    transform: translateY(-8px) rotateZ(0.5deg);
    border-color: var(--accent-color);
}

.dashboard-card:hover::before {
    opacity: 1;
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.card-header h2 {
    font-size: 1.5rem;
    margin: 0;
}

.badge {
    background: rgba(255, 255, 255, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

.card-body {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.card-body p {
    position: relative;
    z-index: 1;
}

.giftee-info .info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.giftee-info .info-row:last-child {
    border-bottom: none;
}

.info-row .label {
    font-weight: 600;
    color: var(--text-secondary);
}

.info-row .value {
    color: var(--text-primary);
    text-align: right;
    flex: 1;
    margin-left: 1rem;
}

.notes-list {
    list-style: none;
    padding: 0;
}

.notes-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.notes-list li:last-child {
    border-bottom: none;
}

/* Chat */
.chat-container {
    max-width: 800px;
    margin: 2rem auto;
    background: linear-gradient(135deg, #ffffff 0%, var(--light-accent) 100%);
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    height: calc(100vh - 200px);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.chat-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.chat-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-image:
        linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 25%, transparent 50%, rgba(255, 255, 255, 0.1) 75%, transparent 100%);
    background-size: 200% 100%;
    animation: navShimmer 3s infinite;
    pointer-events: none;
}

.chat-header h2 {
    margin: 0;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.chat-header p {
    margin: 0.5rem 0 0;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    background: var(--light-bg);
}

.message {
    margin-bottom: 1.5rem;
    display: flex;
}

.message-sent {
    justify-content: flex-end;
}

.message-received {
    justify-content: flex-start;
}

.message-content {
    max-width: 70%;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.message-sent .message-content {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.message-received .message-content {
    background: white;
    color: var(--text-primary);
}

.message-content p {
    margin: 0 0 0.5rem;
}

.message-time {
    font-size: 0.75rem;
    opacity: 0.7;
}

.chat-input-container {
    padding: 1.5rem;
    background: white;
    border-top: 1px solid var(--border-color);
}

.chat-form {
    display: flex;
    gap: 1rem;
}

.chat-form input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

.chat-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.chat-help {
    display: block;
    margin-top: 0.5rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-primary) 0%, #1a1a1a 100%);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
    border-top: 2px solid rgba(255, 215, 0, 0.2);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-image:
        linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 25%, transparent 50%, rgba(255, 255, 255, 0.05) 75%, transparent 100%);
    background-size: 200% 100%;
    animation: navShimmer 3s infinite;
    pointer-events: none;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 3rem;
    border-radius: 15px;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: var(--text-secondary);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--text-primary);
}

/* Error Pages */
.error-container {
    text-align: center;
    padding: 4rem 2rem;
}

.error-code {
    font-size: 8rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-container h1 {
    font-size: 2rem;
    margin: 1rem 0;
}

.error-container p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .chat-container {
        height: calc(100vh - 150px);
    }
    
    .form-container {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .cta-section, .info-section {
        padding: 2rem;
    }
}
/* Registration Form Enhancements */
.form-section {
    background: white;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
}

.section-title {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-description {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

.info-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.info-banner h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.info-banner ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-banner li {
    padding: 8px 0;
    font-size: 1rem;
}

.example-box {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.example-box strong {
    color: #856404;
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
}

.example-box p {
    color: #533f03;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.hints-guide {
    background: #e3f2fd;
    border: 2px solid #2196f3;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.hints-guide strong {
    color: #1565c0;
    display: block;
    margin-bottom: 10px;
    font-size: 1rem;
}

.hints-guide ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hints-guide li {
    padding: 6px 0;
    color: #0d47a1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.hints-guide li strong {
    display: inline;
    color: #1976d2;
    font-weight: 600;
}

.form-help {
    display: block;
    margin-top: 8px;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.character-counter {
    float: right;
    font-weight: 600;
    color: #666;
    font-size: 0.85rem;
}

.form-actions {
    margin-top: 30px;
}

.form-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.form-footer p {
    margin: 10px 0;
    color: #666;
}

.form-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .form-section {
        padding: 15px;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .info-banner {
        padding: 15px;
    }
    
    .example-box,
    .hints-guide {
        padding: 12px;
    }
}
/* Dashboard Enhancements for Long Content */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.dashboard-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.card-header {
    padding: 20px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px 12px 0 0;
}

.card-header h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Scrollable content for long lists */
.scrollable-content {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 10px;
}

.scrollable-content::-webkit-scrollbar {
    width: 8px;
}

.scrollable-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.scrollable-content::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

.scrollable-content::-webkit-scrollbar-thumb:hover {
    background: #764ba2;
}

/* Giftee Info Styles */
.giftee-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-row .label {
    font-weight: 600;
    color: #667eea;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-row .value {
    color: #333;
    font-size: 1rem;
    word-wrap: break-word;
}

.budget-highlight {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f5576c;
}

/* Wishlist and Hints Text */
.wishlist-text,
.hints-text {
    color: #333;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Product Links List */
.product-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-links-list li {
    margin-bottom: 12px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #667eea;
}

.product-links-list a {
    color: #667eea;
    text-decoration: none;
    word-break: break-all;
    font-size: 0.9rem;
}

.product-links-list a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Notes List */
.notes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notes-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.notes-list li:last-child {
    border-bottom: none;
}

/* Hint Note */
.hint-note {
    margin-top: 15px;
    padding: 10px;
    background: #fff3cd;
    border-radius: 6px;
    border-left: 3px solid #ffc107;
}

.hint-note small {
    color: #856404;
}

/* No Data State */
.no-data {
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

/* Badge Styles */
.badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-danger {
    background: #f5576c;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .scrollable-content {
        max-height: 200px;
    }
}

@media (min-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.data-table .truncate {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.data-table td {
    vertical-align: top;
}
