@font-face {
    font-family: 'Neue Winchell Grotesk';
    src: url(../assets/branding/NeueWinchellGrotesk-Regular.ttf);
    font-weight: 400;
}
@font-face {
    font-family: 'Neue Winchell Grotesk';
    src: url(../assets/branding/NeueWinchellGrotesk-Bold.ttf);
    font-weight: 700;
}
@font-face {
    font-family: 'CS Mono';
    src: url(../assets/branding/ContactServicesMono-Regular.ttf);
}
@font-face {
    font-family: 'CS Sans Display';
    src: url(../assets/branding/CSSansDisplay-Regular.ttf);
    font-weight: 700;
}

:root {
    --shd: 0.00px 1.00px 17px 4px rgba(117, 117, 117, 0.08);
}

body {
    font-family: 'Neue Winchell Grotesk', sans-serif;
    background: #f6f6f6;
    margin: 0;
    padding: 30px 10px;
}

.container {
    max-width: 960px;
    margin: auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); */
    box-shadow: var(--shd, 0 1px 4px rgba(0, 0, 0, .6));
}

h1 {
    font-family: 'CS Sans Display', sans-serif;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #000000;
}

.textar {
    text-align: center;
    color: #000000;
}

a {
    color: #116dff;
}

form label {
    font-family: 'Neue Winchell Grotesk', sans-serif;
    font-weight: 700;
    color: #000000;
    display: block;
    margin-top: 15px;
}

input, textarea {
    font-family: 'Neue Winchell Grotesk', sans-serif;
    color: #000000;
    font-size: 1rem;
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #c7c7c7;
    margin-top: 5px;
    box-sizing: border-box;
}

input:hover,
textarea:hover {
    border: 1px solid #116dff;
}

input:focus,
textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: #116dff;
}

button {
    font-family: 'Neue Winchell Grotesk', sans-serif;
    font-weight: 700;
    margin-top: 20px;
    padding: 12px 24px;
    background: #116dff;
    color: white;
    border: none;
    border-radius: 6px;
    transition: background-color 0.2s ease-in-out;
    font-size: 16px;
    cursor: pointer;
}

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

.editor-wrapper {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    align-items: stretch;
}

textarea#mailmlInput {
    width: 50%;
    min-height: 250px;
    font-family: 'CS Mono', monospace;
    resize: vertical;
}

.preview {
    width: 50%;
    min-height: 250px;
    overflow-y: auto;
    border: 1px solid #c7c7c7;
    padding: 10px;
    background: #ffffff;
    box-sizing: border-box;
}

.status {
    margin-top: 15px;
    font-weight: bold;
}

.toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

/* Responsive Layout */
@media (max-width: 768px) {
    .editor-wrapper {
        flex-direction: column;
    }

    textarea#mailmlInput, .preview {
        width: 100%;
    }
}
