/*
 * mailerstyle.css — Mass Email Mailer UI
 * Cleaned and modernised from original 2016 stylesheet
 */

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 20px;
    background: #f0f2f5;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    color: #333;
}

#containder {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 8px;
    padding: 30px 35px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}

#containder h1 {
    margin-top: 0;
    font-size: 22px;
    color: #1a1a2e;
    border-bottom: 2px solid #4a90d9;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* ── Form rows ── */
.spacing {
    margin-bottom: 14px;
}

.spacing b {
    display: inline-block;
    min-width: 160px;
    font-weight: 600;
    color: #444;
    vertical-align: top;
    padding-top: 6px;
}

/* ── Text inputs ── */
.txt {
    width: calc(100% - 170px);
    padding: 7px 10px;
    font-size: 13px;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fafafa;
    transition: border-color 0.2s;
    vertical-align: top;
}

.txt:focus {
    outline: none;
    border-color: #4a90d9;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(74,144,217,0.15);
}

/* ── Message textarea ── */
.messagetxt {
    width: calc(100% - 170px);
    min-height: 120px;
    padding: 7px 10px;
    font-size: 13px;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fafafa;
    resize: vertical;
    transition: border-color 0.2s;
    vertical-align: top;
}

.messagetxt:focus {
    outline: none;
    border-color: #4a90d9;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(74,144,217,0.15);
}

/* ── Submit area ── */
#submit {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn {
    padding: 10px 35px;
    background: #4a90d9;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.btn:hover {
    background: #357abd;
}

.btn:active {
    transform: scale(0.98);
}

.btn:disabled {
    background: #999;
    cursor: not-allowed;
}

/* ── Status box ── */
#status-box {
    padding: 12px 16px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
}

/* ── Small helpers ── */
small {
    font-size: 11px;
}

code {
    background: #f0f0f0;
    padding: 1px 5px;
    border-radius: 3px;
    font-family: monospace;
}
