body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #1a1a1a; /* Dark background */
    color: #e0e0e0; /* Light gray text for readability */
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #2b2b2b; /* Darker container background */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
    padding: 20px;
}

h1.title {
    font-family: 'Courier New', Courier, monospace; /* Updated font for "BIN Checker" title */
    font-size: 28px;
    text-align: center;
    color: #ffcc00; /* Highlight color */
    font-weight: bold;
}

.example-section, .price-section {
    display: inline-block;
    vertical-align: top;
    width: 48%;
    padding: 10px;
    margin: 10px 0;
}

.example-section textarea,
.bin-checker {
    width: 100%;
    height: 120px;
    resize: none;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #444;
    background-color: #333;
    color: #c9c9c9; /* Light gray text */
    font-size: 14px;
}

.price-section {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #f2f2f2;
}

.price-section .price {
    font-size: 36px;
    color: #ffcc00; /* Highlighted color for "Free" */
}

.check-button {
    width: 100%;
    padding: 15px;
    background-color: #444; /* Dark button */
    color: #ffcc00; /* Highlighted text color */
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.check-button:hover {
    background-color: #555; /* Slightly lighter on hover */
}

/* Modal Styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent dark background */
}

.modal-content {
    background-color: #2b2b2b;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #444;
    width: 80%;
    max-width: 700px;
    color: #e0e0e0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.7);
    position: relative;
    animation: slide-down 0.4s ease-out;
}

@keyframes slide-down {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-title {
    font-size: 24px;
    color: #ffcc00;
    margin-bottom: 5px;
    text-align: center;
}

.modal-subtitle {
    font-size: 16px;
    color: #e0e0e0;
    margin-bottom: 20px;
    text-align: center;
}

.close-button {
    color: #ffcc00;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-button:hover {
    color: #ffffff;
}

#binResult {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
    background-color: #333;
    border-radius: 6px;
}

.bin-result {
    background-color: #2b2b2b;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #444;
    margin-bottom: 10px;
}

.bin-result p {
    margin: 5px 0;
    font-size: 14px;
}

hr {
    border: 0;
    height: 1px;
    background-color: #444;
    margin: 10px 0;
}

/* Error Notification Styling */
.error-notification {
    background-color: #ff4c4c; /* Red background for errors */
    color: #fff;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}
