/* contact.css – matching theme of index page */
:root {
    --primary: #0b57d0;
    --on-primary: #fff;
    --primary-container: #d3e3fd;
    --surface: #fff;
    --surface-container: #f0f4f9;
    --surface-container-high: #e9ebf0;
    --on-surface-default: #1b1c1d;
    --on-surface-de-emphasis: #444746;
    --outline: #747775;
    --stroke-default: #dcdfe5;
    --ff-sans: "Google Sans", "Roboto", sans-serif;
    --radius-m: 12px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --primary: #a8c7fa;
        --surface: #101218;
        --surface-container: #282a2c;
        --surface-container-high: #2a2b36;
        --on-surface-default: #fff;
        --on-surface-de-emphasis: #c4c7c5;
        --outline: #9a9b9c;
        --stroke-default: #2d2f38;
    }
}

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

body {
    font-family: var(--ff-sans);
    background: var(--surface-container);
    color: var(--on-surface-default);
    min-height: 100vh;
}

.app-layout {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.widget-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.widget-header {
    padding: 0.75rem 1rem;
    background: var(--surface);
    border-bottom: 1px solid var(--stroke-default);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--on-surface-default);
    margin: 0;
}

.contact-content {
    flex: 1;
    overflow-y: auto;
    padding: 2rem 1rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.contact-card {
    max-width: 600px;
    width: 100%;
    background: var(--surface);
    border-radius: var(--radius-m);
    border: 1px solid var(--stroke-default);
    padding: 2rem;
}

.contact-card h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.contact-card p {
    color: var(--on-surface-de-emphasis);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--on-surface-default);
}

.input-field {
    width: 100%;
    height: 40px;
    background: var(--surface-container-high);
    border: 1px solid transparent;
    border-radius: 0.5rem;
    padding: 0 0.75rem;
    font-family: var(--ff-sans);
    font-size: 0.9rem;
    color: var(--on-surface-default);
    outline: none;
    transition: border-color 0.2s;
}

textarea.input-field {
    height: auto;
    padding: 0.75rem;
    resize: vertical;
}

.input-field:focus {
    border-color: var(--primary);
}

.button {
    font-family: var(--ff-sans);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
    border: none;
    cursor: pointer;
    background: var(--surface-container-high);
    color: var(--on-surface-default);
    transition: 0.2s;
    width: 100%;
}

.button.primary-action {
    background: var(--primary);
    color: var(--on-primary);
}

.button:hover {
    filter: brightness(0.95);
}

.contact-alternative {
    margin-top: 2rem;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--stroke-default);
}

.contact-alternative p {
    margin-bottom: 0.25rem;
}

/* Footer styles (same as index) */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--stroke-default);
    text-align: center;
    padding: 0.8rem 1rem;
    font-size: 0.75rem;
    color: var(--on-surface-de-emphasis);
}
.footer-links {
    display: flex;
    justify-content: center;
	font-size: 0.9rem;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}
.footer-links a {
    color: var(--on-surface-de-emphasis);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--primary);
}
.footer-copyright {
    opacity: 0.6;
    font-size: 0.9rem;
}