/**
 * Nilea Plugin Public Styles
 * 
 * Consolidated styles for all public-facing components of the plugin
 * including general layouts, archive and single pages
 */

/* General container styles */
.nilea-container,
.nilea-content {
    margin: 2rem 0;
}

.nilea-content {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}

.nilea-content h3 {
    margin-top: 0;
    color: #333;
}

/* Archive page styles */
.archive-header {
    margin-bottom: 2rem;
}

.archive-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.archive-description {
    margin-bottom: 2rem;
}

/* Single post/page styles */
.single-header {
    margin-bottom: 2rem;
}

.single-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.single-meta {
    margin-bottom: 1.5rem;
    color: #666;
}

/* Common UI elements */
.nilea-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.nilea-button:hover {
    background-color: #005d8c;
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .archive-title,
    .single-title {
        font-size: 1.8rem;
    }
}



    .nilea-login-form{
        max-width:500px !important;
        margin: 36px auto;
        padding: 24px;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

.nilea-login-form h2 {
    /* color: #333; */
    margin-top: 0;
    margin-bottom: 20px;
    
}

.nilea-form-row, .nilea-form-links {
    margin-bottom: 10px;
    align-items: left;
    text-align: left;
}
    
.nilea-login-form input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.nilea-login-form button {
    background: #0073aa;
    color: white;
    padding: 10px;
    width: 100%;
    border: none;
    border-radius: 5px;
    transition: 0.3s;
    cursor: pointer;
}

.nilea-login-form button:hover {
    background: #005177;
}

.error-msg,
.nilea-login-error {
    color: #e74c3c;
    font-size: 14px;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #fdf3f2;
    border-left: 4px solid #e74c3c;
    border-radius: 3px;
}