nav {
    padding: 1rem;
    margin-bottom: 2rem;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}
nav a {
    color: #495057;
    text-decoration: none;
    margin-right: 1rem;
}
nav a:hover {
    color: #228be6;
}

.blog-table {
    max-width: 1200px;
    width: 100%;
}
.blog-table td {
    color: #495057;
}
.blog-table a {
    color: #0d6efd;
    text-decoration: none;
}
.blog-table a:hover {
    text-decoration: underline;
}
.blog-table .delete-icon {
    color: #dc3545;
}
.blog-table .delete-text {
    color: #495057;
}
.blog-table th.login-column,
.blog-table td.login-column {
    text-align: center;
}
.dns-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.dns-status.not-set {
    color: #dc3545;
}
.dns-status.configured {
    color: #198754;
}

.ssl-status {
    font-family: monospace;
    padding: 2px 6px;
    border-radius: 3px;
}

.ssl-status.configured {
    color: #198754;
}

.ssl-status.not-set {
    color: #dc3545;
}

.account-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}
.account-details {
    display: grid;
    gap: 2rem;
}
.account-details > div {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}
.account-details label {
    font-weight: bold;
    color: #666;
    display: block;
    margin-bottom: 0.5rem;
}
.account-details .form-value {
    margin: 0 0 1rem 0;
    padding: 0.5rem 0;
    color: #333;
}
.account-details h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #333;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.dns-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 800px;
    width: 100%;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.create-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 800px;
    width: 100%;
    z-index: 2;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 10px;
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.modal-close:hover {
    color: #000;
}

.spinner-container {
    display: none;
}

.htmx-request #loading-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 20px auto;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.transition-content {
    opacity: 0;
    animation: fadeIn 0.3s ease-in forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Properly handle button during request */
.htmx-request button[type="submit"] {
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
}

/* Login page styles */
.login-container {
    max-width: 100%;
    margin: 0 auto;
}

.login-page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 1rem;
}

.login-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.login-form-container {
    background: var(--pico-card-background-color);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-width: 400px;
    width: 100%;
}

.login-form {
    width: 100%;
}

.login-button {
    width: 100%;
}

/* Media query for mobile devices */
@media (max-width: 600px) {
    .login-form-container {
        padding: 1.5rem;
    }
    
    .login-title {
        font-size: 2rem;
    }
}
