:root {
    --bg-gradient-start: #e0f2fe; /* Sky 100 */
    --bg-gradient-end: #f0f9ff;   /* Sky 50 */
    --card-bg: #ffffff;
    --primary-blue: #2563eb;      /* Blue 600 */
    --primary-blue-hover: #1d4ed8; /* Blue 700 */
    --text-main: #111827;         /* Gray 900 */
    --text-muted: #6b7280;        /* Gray 500 */
    --border-color: #e5e7eb;      /* Gray 200 */
    --input-bg: #f9fafb;          /* Gray 50 */
    --focus-ring: rgba(37, 99, 235, 0.2);
    --radius-lg: 16px;
    --radius-md: 12px;
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --urgent-border: #fca5a5;     /* Red 300 */
    --urgent-bg: #fef2f2;         /* Red 50 */
}

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    padding: 20px;
}

.page-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.main-card {
    background: var(--card-bg);
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    padding: 40px;
    transition: transform 0.3s ease;
}

/* Header Section */
.card-header {
    text-align: center;
    margin-bottom: 24px;
}

.icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(37, 99, 235, 0.2));
}

h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 14px;
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.intro-text {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 32px;
}

/* Form Styles */
.support-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    width: 100%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.rounded-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background-color: var(--input-bg);
    font-family: inherit;
    font-size: 15px;
    color: var(--text-main);
    transition: all 0.2s ease;
    outline: none;
    -webkit-appearance: none; /* Remove default select arrow */
    appearance: none;
}

.rounded-input::placeholder {
    color: #9ca3af;
}

.rounded-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px var(--focus-ring);
    background-color: #fff;
}

/* Select Dropdown Customization */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: "▼";
    font-size: 10px;
    color: #9ca3af;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.rounded-input.disabled {
    background-color: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}

textarea.rounded-input {
    resize: vertical;
    min-height: 120px;
}

/* Urgent State */
.urgent-highlight .rounded-input:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.urgent-highlight select#category {
    background-color: var(--urgent-bg);
    border-color: var(--urgent-border);
    color: #b91c1c;
}

/* Submit Section */
.submit-section {
    margin-top: 8px;
    text-align: center;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background-color: var(--primary-blue);
    color: white;
    font-weight: 600;
    font-size: 16px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
}

.submit-btn:hover {
    background-color: var(--primary-blue-hover);
}

.submit-btn:active {
    transform: scale(0.98);
}

.helper-text {
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Footer */
.card-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: #9ca3af;
    font-size: 12px;
}

.footer-brand {
    font-weight: 600;
    margin-top: 4px;
    color: var(--text-muted);
}

/* Success Screen */
.success-screen {
    text-align: center;
    padding: 20px 0;
    animation: fadeIn 0.5s ease;
}

.success-icon-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.success-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(37, 99, 235, 0.2));
}

.success-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.success-message-text {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 8px;
}

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

/* Responsive */
@media (max-width: 640px) {
    .main-card {
        padding: 24px;
        border-radius: 20px;
    }
    
    h1 {
        font-size: 20px;
    }
    
    .header-icon {
        font-size: 28px;
    }
    
    .icon-wrapper {
        width: 56px;
        height: 56px;
    }
}
