/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%;
    max-width: 600px;
    margin: 20px;
}

/* Search Form */
.search-form {
    margin: 20px 0;
}

input[type="text"] {
    padding: 10px;
    font-size: 18px;
    border: 2px solid #ccc;
    border-radius: 5px;
    width: 250px;
    margin-right: 10px;
}

/* Button Styles */
button {
    padding: 10px 15px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s ease;
}

button:hover {
    opacity: 0.8;
}

.search-button { background: #0277bd; color: white; }
.yes-button { background: green; color: white; }
.no-button { background: red; color: white; }
.reset-button { background: #ff9800; color: white; margin-top:16px;}
.back-button { 
    background: #555; 
    color: white; 
    display: inline-block; 
    text-decoration: none; 
    padding: 10px 15px; 
    border-radius: 5px; 
    font-size: 18px; 
}
.back-button:hover {
    opacity: 0.8;
}

/* Success, Warning, Error Messages */
.success {
    color: green;
    background: #d4edda;
    padding: 10px;
    border-radius: 5px;
    font-size: 20px;
}
.warning {
    color: orange;
    background: #fff3cd;
    padding: 10px;
    border-radius: 5px;
    font-size: 20px;
}
.error {
    color: red;
    background: #f8d7da;
    padding: 10px;
    border-radius: 5px;
    font-size: 20px;
}

/* WhoIs Results Section */
.whois-results {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 8px;
    text-align: left;
    margin-top: 10px;
}

.whois-results p {
    font-size: 18px;
    margin: 8px 0;
}

.whois-results strong {
    color: #0277bd;
}

/* Full WhoIs Raw Data */
.whois-raw {
    margin-top: 20px;
    text-align: left;
}

.whois-raw textarea {
    width: 100%;
    height: 200px;
    font-family: monospace;
    font-size: 14px;
    border: 1px solid #ccc;
    padding: 10px;
    background: #fafafa;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Add to Database Form */
form {
    margin-top: 20px;
    text-align: left;
}

form textarea {
    width: 100%;
    height: 80px;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: none;
    background: #fafafa;
	box-sizing: border-box;
}

/* Add Button */
.add-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: #4CAF50;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s ease;
}

.add-button:hover {
    background: #388E3C;
}

/* Info Message */
.info-message {
    color: #0277bd;
    font-size: 16px;
    margin-top: 10px;
}

/* Expiration Date Color Coding */
.expiration-date.expired {
    color: red;
    font-weight: bold;
}

.expiration-date.expiring-soon {
    color: orange;
    font-weight: bold;
}

.expiration-date.expiring-warning {
    color: #e6a700; /* a shade of gold */
    font-weight: bold;
}

.domain-management .manage-button {
    display: inline-block;
    margin: 5px;
    padding: 10px 15px;
    background: #00796b;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: 0.3s ease;
}
.domain-management .manage-button:hover {
    opacity: 0.8;
}
