
/* Soleved Login Plugin Styles */
#soleved-login-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.soleved-login-form {
    width: 100%;
}

.soleved-logo {
    text-align: center;
    margin-bottom: 30px;
}

.soleved-logo img {
    max-width: 100%;
    height: auto;
}

.soleved-field {
    margin-bottom: 20px;
}

.soleved-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.soleved-field input[type="text"],
.soleved-field input[type="password"],
.soleved-field input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.soleved-field input[type="text"]:focus,
.soleved-field input[type="password"]:focus,
.soleved-field input[type="email"]:focus {
    outline: none;
    border-color: var(--soleved-button-color, #214332);
}

.soleved-login-btn,
.soleved-forgot-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--soleved-button-color, #214332);
    color: var(--soleved-button-text-color, #ffffff);
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.soleved-login-btn:hover,
.soleved-forgot-btn:hover {
    opacity: 0.9;
}

.soleved-login-btn:disabled,
.soleved-forgot-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.soleved-forgot-password {
    text-align: center;
    margin-top: 20px;
}

.soleved-forgot-password a {
    color: var(--soleved-button-color, #214332);
    text-decoration: none;
}

.soleved-forgot-password a:hover {
    text-decoration: underline;
}

/* Modal Styles */
.soleved-modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.soleved-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.soleved-modal-header {
    padding: 20px;
    border-bottom: 1px solid #e1e5e9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.soleved-modal-header h3 {
    margin: 0;
    color: #333;
}

.soleved-close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

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

.soleved-modal-body {
    padding: 20px;
}

/* Message Styles */
.soleved-message {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: 500;
}

.soleved-message.error {
    background-color: #fee;
    border: 1px solid #fcc;
    color: #c33;
}

.soleved-message.success {
    background-color: #efe;
    border: 1px solid #cfc;
    color: #3c3;
}

/* Responsive */
@media (max-width: 480px) {
    #soleved-login-container {
        margin: 20px;
        padding: 15px;
    }
    
    .soleved-modal-content {
        width: 95%;
        margin: 10% auto;
    }
}
