/* assets/css/help.css - Support Center Styles */

:root {
    --primary-sky: #0ea5e9;
    --primary-indigo: #6366f1;
    --dark-bg: #0f172a;
    --dark-card: #1e293b;
    --success-green: #10b981;
    --warning-amber: #f59e0b;
}

/* Animations */
@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Page Wrapper */
.support-wrapper {
    min-height: 100vh; /* Full height including header area */
    background: #f8fafc;
    padding-top: 100px; /* 80px header + 20px spacing */
    padding-bottom: 20px;
    /* margin-top removed as body padding is gone */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hero Section */
.support-hero {
    text-align: center;
    margin-bottom: 1.5rem; /* Reduced margin */
    animation: slideUpFade 0.6s ease-out;
}
.support-hero h1 {
    font-weight: 800;
    color: var(--dark-bg);
    margin-bottom: 0.5rem;
    font-size: clamp(2rem, 3vw, 2.5rem); /* Responsive font */
}
.support-hero p {
    color: #64748b;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}
/* Action Cards */
.action-card {
    background: white;
    border-radius: 20px;
    padding: clamp(1.5rem, 2vw, 2rem); /* Reduced padding */
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    height: 100%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: inherit;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--primary-sky);
}
.icon-wrapper {
    width: clamp(50px, 6vw, 70px); /* Smaller icons */
    height: clamp(50px, 6vw, 70px);
    border-radius: 50%;
    margin: 0 auto 1rem; /* Reduced margin */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.2rem, 2vw, 1.75rem);
    background: #f0f9ff;
    color: var(--primary-sky);
    transition: all 0.3s ease;
}
.action-card:hover .icon-wrapper {
    background: var(--primary-sky);
    color: white;
    transform: scale(1.1) rotate(5deg);
}
.action-card h3 {
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--dark-bg);
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
}
.action-card p {
    color: #64748b;
    margin: 0;
    font-size: 0.9rem;
    max-width: 95%;
}

/* Forms */
.support-form-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    max-width: 800px;
    margin: 0 auto;
}
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--primary-indigo);
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}
.form-control:focus {
    border-color: var(--primary-indigo);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

/* Ticket Status Page */
.ticket-header {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.status-open { background: #eff6ff; color: #3b82f6; }
.status-in_progress { background: #fff7ed; color: #f97316; }
.status-resolved { background: #ecfdf5; color: #10b981; }
.status-closed { background: #f1f5f9; color: #64748b; }

/* Conversation / Timeline */
.timeline-wrapper {
    position: relative;
    padding-left: 2rem;
}
.timeline-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}
.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}
.timeline-dot {
    position: absolute;
    left: -2.4rem;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--primary-indigo);
}
.message-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}
.message-card.admin {
    border-left: 4px solid var(--primary-indigo);
    background: #eef2ff;
}
.message-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: #64748b;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .support-hero h1 { font-size: 2rem; }
    .support-form-card { padding: 1.5rem; }
}
