/* Basic resets */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.5;
    padding: 20px;
}

/* Container & Two-Column Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.two-column {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-col,
.list-col {
    flex: 1;
    min-width: 300px;
}

/* Form Section Styling */
.form-section {
    margin-bottom: 15px;
}

.form-section label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-section input[type="text"],
.form-section select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Button Styling */
button {
    padding: 10px 15px;
    background-color: #007BFF;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Validation Message Styling */
.validation-message {
    margin-top: 5px;
    font-size: 0.9rem;
}

.valid {
    color: green;
}

.invalid {
    color: red;
}

/* Alert Styling */
/* Alert Base Style */
.alert {
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    display: none;
}

/* To display alerts when x-show is true */
[x-cloak] { display: none !important; }
.alert[x-show] {
    display: block;
}

/* Success Alert */
.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

/* Error Alert */
.alert-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Info Alert */
.alert-info {
    background-color: #e7f3fe;
    border: 1px solid #b3d4fc;
    color: #31708f;
}

/* Warning Alert */
.alert-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
}

.alert a {
    color: inherit;
    text-decoration: underline;
}

/* Subdomain List Styling */
.subdomain-list {
    list-style: none;
    padding: 0;
}

.subdomain-item {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.subdomain-text {
    font-size: 1rem;
}
