/* Base Styling */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    color: #333;
}

h1 {
    color: #4caf50;
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 10px;
}

p {
    text-align: center;
    font-size: 1.1em;
    color: #666;
}

/* Header and Logo Styling */
header {
    background-color: #222;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-family: 'Orbitron', sans-serif;
    color: #4caf50;
    font-size: 2.2em;
    font-weight: bold;
    margin: 0;
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    color: #61dafb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #4caf50;
}

/* Container Styling */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* TLD Buttons and Columns */
#select-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    gap: 10px;
}

button {
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-corp {
    background-color: #f0ad4e;
    color: white;
}

.btn-niche {
    background-color: #5bc0de;
    color: white;
}

.btn-action {
    background-color: #6c757d;
    color: white;
}

.btn-check {
    background-color: #4caf50;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    display: block;
    margin: 20px auto;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

.btn-check:hover {
    background-color: #388e3c;
}

/* TLD Columns Styling */
.tld-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.tld-group {
    flex-basis: calc(20% - 10px);
}

/* Text Box */
#domainInput {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 1em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Progress Bar */
#progressBar {
    margin: 15px auto;
    width: 100%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    display: none;
}

.progress {
    height: 100%;
    width: 0;
    background-color: #4caf50;
    border-radius: 5px;
}

/* WHOIS Results Styling */
.result-container {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.available {
    background-color: #e8f5e9;
    border-left: 5px solid #4caf50;
}

.unavailable {
    background-color: #ffebee;
    border-left: 5px solid #f44336;
}

/* Modal Window Styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

/* WHOIS Information Styling */
.whois-info {
    text-align: left;
    font-family: 'Roboto', sans-serif;
    color: #333;
}

.whois-info p {
    margin-bottom: 8px;
    line-height: 1.6;
}

.whois-info strong {
    color: #4caf50;
}

/* Footer */
footer {
    background-color: #222;
    padding: 15px 30px;
    text-align: center;
    color: white;
}

footer a {
    color: #4caf50;
    text-decoration: none;
    font-weight: 500;
}

footer a:hover {
    text-decoration: underline;
}