@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* General Body & Theme */
:root {
    --primary-blue: #56cfe1;
    --dark-background: #0d1b2a;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--dark-background);
    color: #f0f0f0;
    font-family: 'Poppins', sans-serif;
}

main {
    flex-grow: 1;
}

/* Navbar */
nav {
    padding-top: 1rem;
    padding-bottom: 1rem;
    align-items: center;
}
.nav-brand {
    font-weight: 600;
}
.brand-highlight {
    color: var(--primary-blue);
}
.nav-brand img {
    height: 150px;
}

/* Homepage Hero Section */
.hero {
    text-align: center;
    padding: 5rem 1rem;
    gap: 0.5rem;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-sandbox {
    color: var(--primary-blue);
}

.hero p {
    font-size: 1.2rem;
    color: var(--pico-muted-color);
    margin-bottom: 2.5rem;
}

.btn-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Info Cards */
.grid {
    margin-top: 4rem;
    gap: 2rem;
}

.info-card {
    text-align: center;
    background-color: #1b2f45; /* Lighter blue/grey for contrast */
    border: 1px solid #3a506b;
    border-radius: 12px;
    padding: 2rem;
}

.info-card h3 {
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.info-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 50%;
    background-color: #3a506b; /* Icon background */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
}

.info-card-icon svg {
    stroke-width: 1.5;
}

/* Problem List Folders */
details summary {
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
}

details ul {
    margin-left: 1.5rem;
}

/* Request Form Styling */
.form-container {
    background-color: #5580ab; /* Steel grey background */
    color: #1b2f45; /* Dark blue text for contrast */
    padding: 2rem 3rem;
    border-radius: 8px;
    margin: 2rem auto;
    max-width: 800px;
}

/* Explicitly set color for labels and paragraphs in the form for readability */
.form-container label,
.form-container p {
    color: #ffffff;
}

.form-container hr {
    margin: 1.5rem 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Style form inputs for dark theme */
.form-container input,
.form-container textarea {
    background-color: #253e59; /* Dark background */
    color: #f0f0f0; /* Light text */
    border: 1px solid #3a506b;
    border-radius: 8px;
}

/* Style the placeholder text to be a dimmer grey */
.form-container ::placeholder {
  color: #a9a9a9;
}

.form-container input:focus,
.form-container textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px rgba(86, 207, 225, 0.2);
}

/* Footer */
footer {
    text-align: center;
    padding: 0.75rem 0; /* Further reduced vertical padding */
    margin-top: auto;
    background-color: #08121c; /* Slightly different dark blue */
    /* border-top: 1px solid #1b2f45; */
    width: 100%; /* Ensure it spans the full width */
}

/* Fix button font */
button, [role="button"] {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.constraints-notice {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--pico-muted-color);
    margin-top: 1rem;
    border: 1px solid var(--pico-muted-border-color);
    padding: 0.75rem;
    border-radius: 8px;
    background-color: var(--pico-card-background-color);
}

.problem-header {
    margin-bottom: 1.5rem;
}

.problem-page-notice {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--pico-muted-color);
    text-align: center;
    margin-bottom: 2rem;
} 