/* Artlogic + Integrated Functional Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&family=Roboto:wght@400;500;700&display=swap');

:root {
    --al-black: #1a1a1a;
    --al-gray: #757575;
    --al-light-gray: #eeeeee;
    --al-bg: #ffffff;
    --al-accent: #fcfcfc;
    --al-blue: #1a73e8;
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    background-color: var(--al-bg);
    color: var(--al-black);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center; /* Adjusted from flex-start to center for splash page */
    min-height: 100vh;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

.container {
    background-color: #ffffff;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    box-sizing: border-box;
}

header {
    text-align: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--al-light-gray);
    padding-bottom: 2rem;
}

h1 {
    font-weight: 300;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--al-black);
    margin-bottom: 1rem;
}

/* Card Grid for Home Page */
.portal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.card {
    background: var(--al-accent);
    border: 1px solid var(--al-light-gray);
    padding: 2.5rem 1.5rem;
    text-decoration: none;
    color: var(--al-black);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    border-color: var(--al-black);
    transform: translateY(-2px);
}

/* Form Styling */
label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--al-gray);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

input[type="text"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 12px;
    margin-bottom: 25px;
    border: 1px solid var(--al-light-gray);
    border-radius: 0px; /* High-end sharp corners */
    font-size: 16px;
    color: var(--al-black);
    box-sizing: border-box;
    transition: border-color 0.2s;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--al-black);
}

/* Specific Select Styling */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%231a1a1a" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    cursor: pointer;
}

/* File Upload Button Styling */
input[type="file"] {
    border: 1px solid var(--al-light-gray);
    padding: 10px;
}

input[type="file"]::file-selector-button {
    background-color: var(--al-black);
    color: white;
    border: none;
    padding: 8px 16px;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.1em;
    cursor: pointer;
}

/* Primary Buttons */
button {
    background-color: var(--al-black);
    color: white;
    padding: 16px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    width: 100%;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #333;
}

/* Success/Error Messages */
.message {
    margin-top: 20px;
    padding: 20px;
    text-align: center;
    display: none;
}

.message.success {
    background-color: #f6fff9;
    color: #155724;
    border: 1px solid #c2e6cc;
}

.message.error {
    background-color: #fff5f5;
    color: #721c24;
    border: 1px solid #f5c2c2;
}

@media (max-width: 650px) {
    .portal-grid { grid-template-columns: 1fr; }
}