/* Scoped styles for the IELTS to CLB converter only, no global overrides */
.ielts-container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    max-width: 1000px; /* Adjust to fit the screen width */
    margin: auto;
}

.ielts-container h1 {
    text-align: center;
    color: #007bff; /* Customize color for the title */
    font-weight: 700;
    font-size: 1.8rem;
}

.ielts-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

#ieltsForm {
    flex: 1;
}

.ielts-form-group {
    margin-bottom: 20px;
}

.ielts-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.ielts-form-group input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
}

#ieltsForm input[type="number"]:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    outline: none;
}

#ieltsForm button {
    width: 100%;
    padding: 12px;
    background-color: #b61b28;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

#ieltsForm button:hover {
    background-color: #0056b3;
}

#clbResults {
    flex: 1;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none; /* Initially hidden */
}

#clbResults h2 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #333;
}

#clbResults p {
    font-size: 16px;
    color: #555;
}

#clbResults p strong {
    color: #007bff;
}

/* Responsive behavior for mobile */
@media (max-width: 768px) {
    .ielts-content {
        flex-direction: column;
    }

    #clbResults {
        margin-top: 20px;
    }
}
