body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f7f9;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
}

.container {
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 600px;
    width: 100%;
}

h1 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 2em;
}

.ip-info p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

#user-ip {
    font-weight: bold;
    color: #3498db;
}

.status-message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 1.1em;
    font-weight: 500;
}

.status-message.success {
    background-color: #e6ffed;
    border: 1px solid #5cb85c;
    color: #3c763d;
}

.status-message.warning {
    background-color: #fff0e6;
    border: 1px solid #f0ad4e;
    color: #8a6d3b;
}

.status-message.error {
    background-color: #fdeded;
    border: 1px solid #d9534f;
    color: #a94442;
}

.details {
    text-align: left;
    margin-bottom: 25px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.details p.details-header {
    font-size: 1.3em;
    color: #34495e;
    margin-top: 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    font-weight: bold; /* Added to mimic h2 boldness */
}

.details p {
    margin: 8px 0;
    font-size: 1em;
}

.footer {
    margin-top: 30px;
    font-size: 0.9em;
    color: #7f8c8d;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .container {
        padding: 20px;
    }
    h1 {
        font-size: 1.8em;
    }
    .ip-info p, .status-message, .details p {
        font-size: 1em;
    }
}
