/*
 * Styling for Domain Email Security Checker
 *
 * This stylesheet draws from the dmarc.ai colour palette: a dark navy background
 * with white text and a vivid orange accent.  Tables are styled with dark
 * headings and alternating row shading for readability.  The overall layout
 * centres the report in a card‑like container.
 */
.des-email-security-checker {
    background-color: #0a3870;
    color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    max-width: 640px;
    margin: 20px auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.des-email-security-checker label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}
.des-email-security-checker input[type="text"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 12px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 16px;
}
.des-email-security-checker input[type="submit"] {
    background-color: #f58220;
    color: #ffffff;
    border: none;
    padding: 10px 16px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.des-email-security-checker input[type="submit"]:hover {
    background-color: #d76d1a;
}
/* Results container */
.des-results-wrapper {
    max-width: 960px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
    color: #0a3870;
}
.des-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.des-results-header h2 {
    margin: 0;
    font-size: 24px;
}
.des-grade {
    display: flex;
    align-items: center;
}
.des-grade .letter {
    background-color: #f58220;
    color: #ffffff;
    font-size: 48px;
    font-weight: bold;
    padding: 16px 24px;
    border-radius: 50%;
    margin-right: 12px;
}
.des-grade .score {
    font-size: 28px;
    color: #0a3870;
    font-weight: bold;
}
.des-summary-section h3,
.des-vuln-section h3,
.des-detail-section h3 {
    margin-top: 30px;
    color: #0a3870;
}
.des-summary-table, .des-detail-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.des-summary-table th,
.des-detail-table th {
    background-color: #0a3870;
    color: #ffffff;
    padding: 8px;
    text-align: left;
    font-weight: 600;
}
.des-summary-table td,
.des-detail-table td {
    padding: 8px;
    border: 1px solid #0a3870;
}
.des-summary-table tr:nth-child(even) td,
.des-detail-table tr:nth-child(even) td {
    background-color: #f7faff;
}
.des-vuln-section ul {
    list-style: disc;
    margin-left: 20px;
    color: #0a3870;
}
.des-vuln-section li {
    margin-bottom: 4px;
}
.des-detail-section p {
    margin: 8px 0;
    color: #0a3870;
}
