:root {
    --primary-color: #201534;
    --secondary-color: #4a90e2;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-radius: 5px;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--light-bg);
    margin: 0;
    padding: 0;
}

.headerbg {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white !important;
}

textarea {
    resize: none;
    border: 1px solid var(--text-color);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px var(--shadow-color);
    transition: all 0.3s ease;
}

textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 8px var(--secondary-color);
    outline: none;
}

.btn-waiting {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-waiting:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-waiting .spinner-border {
    display: inline-block;
}

#test-button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#test-button:hover {
    background-color: var(--primary-color);
}

form {
    border-radius: var(--border-radius);
}

#results {
    font-family: 'Courier New', Courier, monospace;
    padding: 10px;
    background: white;
    border: 1px solid var(--text-color);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px var(--shadow-color);
}

#results table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

#results th, #results td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid var(--shadow-color);
}

#results .available {
    color: green;
}

#results .unavailable {
    color: red;
}
