.ess-container {
    max-width: 1100px;
    margin: auto;
    padding: 30px;
    font-family: Arial, sans-serif;
    direction: ltr; /* Changed to Left-to-Right */
    text-align: left; /* Aligned text to left */
}

.ess-form {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.ess-form input {
    flex: 1;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    direction: ltr;
    text-align: left;
}

.ess-form button {
    background: #15803d;
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.ess-report {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    direction: ltr;
    text-align: left;
}

.ess-score {
    font-size: 64px;
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 25px;
    text-align: center;
}

.ess-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.ess-item h3 {
    margin: 0 0 10px 0;
}

.ess-pass {
    color: green;
    font-weight: bold;
}

.ess-warn {
    color: orange;
    font-weight: bold;
}

.ess-fail {
    color: red;
    font-weight: bold;
}

.ess-recommendation {
    background: #f8f8f8;
    padding: 12px;
    border-radius: 8px;
    margin-top: 10px;
}

.ess-risk {
    padding: 18px;
    border-radius: 18px;
    margin: 20px 0;
    text-align: center;
    font-weight: bold;
    border: 2px solid transparent;
}

.ess-risk-label {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.ess-risk-text {
    font-size: 1rem;
    font-weight: normal;
}

.ess-risk-low {
    background: #dcfce7;
    color: #166534;
    border-color: #22c55e;
}

.ess-risk-medium {
    background: #fef3c7;
    color: #92400e;
    border-color: #f59e0b;
}

.ess-risk-high {
    background: #fee2e2;
    color: #991b1b;
    border-color: #ef4444;
}

.ess-dns-fix {
    background: #f7f7f7;
    padding: 12px;
    border-radius: 8px;
    margin-top: 10px;
    direction: ltr;
    text-align: left;
}

.ess-dns-fix pre {
    white-space: pre-wrap;
    margin: 10px 0 0;
    font-family: monospace;
}

.print-btn {
    background: #15803d;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    display: block;
    margin: 20px auto;
}