.erm-results-wrap {
    max-width: 620px;
    margin: 40px auto;
    padding: 0 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.erm-header {
    text-align: center;
    margin-bottom: 28px;
}

.erm-header h2 {
    color: #6e0f11;
    font-size: 30px;
    font-weight: 800;
    margin: 0 0 10px;
}

.erm-header p {
    color: #6b6b6b;
    font-size: 15px;
    margin: 0;
}

.erm-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 32px;
}

.erm-card label {
    display: block;
    font-weight: 700;
    color: #2b2b2b;
    font-size: 14px;
    margin: 16px 0 6px;
}

.erm-card label:first-of-type {
    margin-top: 0;
}

.erm-card select,
.erm-card input[type="text"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d8d3c8;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
    background: #fff;
    color: #333;
}

.erm-card select:disabled {
    background: #f2f2f2;
    color: #999;
}

.erm-search-btn {
    width: 100%;
    margin-top: 26px;
    padding: 14px;
    background: #6e0f11;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}

.erm-search-btn:hover { background: #5a0c0e; }
.erm-search-btn:disabled { background: #a97d7d; cursor: not-allowed; }

.erm-message {
    padding: 12px 14px;
    border-radius: 6px;
    margin-bottom: 18px;
    font-size: 14px;
}

.erm-message.erm-error { background: #fdecea; color: #7a1a15; border: 1px solid #f3c1bb; }
.erm-message.erm-success { background: #eaf6ec; color: #1e5b2a; border: 1px solid #bfe3c6; }

.erm-result-card { margin-top: 24px; }

.erm-result-card h3 {
    color: #6e0f11;
    margin-top: 0;
}

.erm-result-meta {
    color: #555;
    font-size: 14px;
    margin-bottom: 18px;
}

.erm-result-table {
    width: 100%;
    border-collapse: collapse;
}

.erm-result-table th, .erm-result-table td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.erm-result-table th {
    background: #f7f3ea;
    color: #6e0f11;
    font-weight: 700;
}
