/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f9;
    color: #333;
}

/* Container */
.hccontainer {
    max-width: 1235px;
    margin: 2rem auto;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    animation: fadeIn 0.6s ease-in-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 60px; /* Pushes content further down */
}

/* Header */
.hccontainer header {
    background: none; /* Removes background color */
    color: inherit; /* Ensures the text color remains as defined globally */
    padding: 20px;
    text-align: center;
}

.hccontainer header h1 {
    margin: 0;
    font-size: 24px;
    text-align: center;
}

.hccontainer header p {
    margin: 5px 0 0;
    font-size: 16px;
    text-align: center;
}

/* Main Content */
main {
    padding: 20px;
    text-align: center;
}

input {
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

button {
    padding: 10px 20px;
    background: #4caf50;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

button:hover {
    background: #45a049;
}

/* Results Section */
.result {
    margin-top: 20px;
    text-align: left;
}

.result p {
    font-size: 16px;
    margin: 5px 0;
}

.result .card {
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.result .error {
    color: #d9534f;
}


/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
