/**
 * MysticMeg User System Styles
 */

/* Form Container */
.mysticmeg-user-form-container {
    max-width: 625px;
    margin: 25px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Form Rows */
.mysticmeg-form .form-row {
    margin-bottom: 20px;
}

.mysticmeg-form label {
    display: block;
    margin-bottom: 5px;
}

.mysticmeg-form .required {
    color: #dc3545;
}

.mysticmeg-form input[type="text"],
.mysticmeg-form input[type="email"],
.mysticmeg-form input[type="password"],
.mysticmeg-form input[type="date"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.mysticmeg-form .description {
    font-size: 14px;
    color: #666;
    margin-top: 0;
}

.mysticmeg-form button {
color:#ffffff;
background: #e62000;
margin-right:0;
padding: 7px 12px 7px;
margin-top:0;
width:auto;
display:inline-block;
text-align:center;
font-weight:500;
border:0;
font-size:1.5em;
border-radius: 5px;
text-transform:uppercase;
}

.mysticmeg-form button:hover {
    background: #d22329;
}

/* Messages */
.mysticmeg-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.mysticmeg-message.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.mysticmeg-message.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.mysticmeg-message.info {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

/* Links */
.login-link,
.register-link,
.forgot-password {
    margin-top: 15px;
	font-size:1.5em;
}

/* Dashboard */
.mysticmeg-dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.mysticmeg-user-info,
.mysticmeg-favorites,
.mysticmeg-all-readers {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.mysticmeg-readers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 20px;
    margin-top: 20px;
}

.mysticmeg-reader-card {
    background: white;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.reader-rating {
    margin: 10px 0;
}

.reader-rating .star {
    color: #ccc;
    font-size: 18px;
}

.reader-rating .star.filled {
    color: #f8d64e;
}

.reader-status {
    margin: 10px 0;
}

.status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
}

.status.available {
    background: #d4edda;
    color: #155724;
}

.status.unavailable {
    background: #f8d7da;
    color: #721c24;
}

.reader-actions {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
}

.reader-actions .button {
    padding: 8px 12px;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    border-radius: 5px;
}

.remove-favorite {
    background: #dc3545;
    color: white;
}

.remove-favorite:hover {
    background: #c82333;
}

.view-reader {
    background: #17a2b8;
    color: white;
}

.view-reader:hover {
    background: #138496;
}

/* Responsive */
@media (max-width: 768px) {
    .mysticmeg-readers-grid {
       /* grid-template-columns: 1fr;*/
    }
    
    .reader-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .reader-actions .button {
        width: 100%;
    }
}
