@font-face {
    font-family: 'Sender';
    src: url(../assets/fonts/Sender-Regular.ttf);
    font-weight: 700;
}
@font-face {
    font-family: 'GetSend Sans';
    src: url(../assets/fonts/GetSendSans-Regular.ttf);
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'GetSend Sans';
    src: url(../assets/fonts/GetSendSans-Bold.ttf);
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'GetSend Sans';
    src: url(../assets/fonts/GetSendSans-Italic.ttf);
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: 'GetSend Sans';
    src: url(../assets/fonts/GetSendSans-BoldItalic.ttf);
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'GetSend Sans Mono';
    src: url(../assets/fonts/GetSendSansMono-Regular.ttf);
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'GetSend Sans Mono';
    src: url(../assets/fonts/GetSendSansMono-Bold.ttf);
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'GetSend Sans Mono';
    src: url(../assets/fonts/GetSendSansMono-Italic.ttf);
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: 'GetSend Sans Mono';
    src: url(../assets/fonts/GetSendSansMono-BoldItalic.ttf);
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'GetSend Amber';
    src: url(../assets/fonts/GetSendAmber-Regular.ttf);
    font-weight: 400;
}
@font-face {
    font-family: 'GetSend Amber';
    src: url(../assets/fonts/GetSendAmber-Bold.ttf);
    font-weight: 700;
}

body {
    font-family: 'GetSend Amber', sans-serif;
    background: #00595d;
    margin: 0;
    padding: 30px 10px;
}

.container {
    max-width: 960px;
    margin: auto;
    background: #f1e0ce;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

h1 {
    font-family: 'Sender', serif;
    font-weight: 400;
    text-align: center;
    margin-bottom: 20px;
    color: #00595d;
}

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

a {
    color: #00595d;
}

form label {
    font-family: 'GetSend Amber', sans-serif;
    font-weight: 700;
    color: #00595d;
    display: block;
    margin-top: 15px;
}

input::placeholder,
textarea::placeholder {
    color: #00595d;
}

input, textarea {
    font-family: 'GetSend Amber', sans-serif;
    color: #00595d;
    font-size: 1rem;
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #00595d;
    margin-top: 5px;
    box-sizing: border-box;
}

input:hover,
textarea:hover {
    background-color: #f8f0e7;
}

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

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

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

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

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

.preview {
    width: 50%;
    min-height: 250px;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
    background: #fdfdfd;
    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%;
    }
}
