/* Estilos básicos */
.subastas-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.popup-content {
    position: relative;
    width: 90%;
    max-width: 400px;
    margin: 50px auto;
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    z-index: 9999999;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.popup-form {
    display: none;
}

.popup-form.active {
    display: block;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-group button {
    width: 100%;
    padding: 10px;
    background: #007cba;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.form-group button:hover {
    background: #005a87;
}

.form-group button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.popup-switch {
    text-align: center;
    margin-top: 15px;
}

.popup-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.popup-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.popup-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Notificación para usuarios logueados */
.subastas-login-notificacion {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #2196F3;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.subastas-login-notificacion.show {
    opacity: 1;
    transform: translateX(0);
}

.subastas-login-notificacion strong {
    font-weight: 600;
    text-transform: capitalize;
}