
/* Vesta Login Modal */
.vesta-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vesta-modal.active {
    display: block;
    opacity: 1;
}

.vesta-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}

.vesta-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.vesta-modal.active .vesta-modal-content {
    transform: translate(-50%, -50%) scale(1);
}

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

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

.vesta-login-panel h3,
.vesta-user-panel h3 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #555;
}

.vesta-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.vesta-input:focus {
    border-color: var(--accent-color);
    outline: none;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.form-group.checkbox input {
    margin-left: 8px;
}

.vesta-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}

.vesta-btn.primary {
    background: var(--accent-color);
    color: #fff;
}

.vesta-btn.primary:hover {
    background: #e69000;
}

.vesta-btn.danger {
    background: #ef4444;
    color: #fff;
}

.vesta-btn.danger:hover {
    background: #dc2626;
}

.vesta-btn.full-width {
    width: 100%;
}

.user-avatar {
    text-align: center;
    margin-bottom: 15px;
}

.user-avatar img {
    border-radius: 50%;
    border: 3px solid var(--accent-color);
}

.user-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
