/* ESTILOS GENERALES */
body {
    font-family: Arial, sans-serif;
    background-color: #f6f8fa;
    margin: 0;
    padding: 0;
}

.header {
    background-color: #007BFF;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.logout-button {
    float: right;
    margin-right: 20px;
    color: white;
    text-decoration: none;
}

.footer {
    text-align: center;
    padding: 10px;
    background-color: #007BFF;
    color: white;
    margin-top: 20px;
}

.form-section, .rewards-section, .prospect-section {
    background: white;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

input[type="text"], input[type="email"], input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

button {
    padding: 10px 15px;
    margin-top: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.points-box {
    font-size: 24px;
    text-align: center;
}

/* TABLAS */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th, table td {
    padding: 12px;
    border: 1px solid #ccc;
    text-align: center;
}

/* STATUS */
.status-cerrado {
    color: green;
    font-weight: bold;
}

.status-descartado {
    color: red;
    font-weight: bold;
}

.status-pendiente {
    color: orange;
    font-weight: bold;
}

/* MODAL */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.modal-container {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 0 25px rgba(0,0,0,0.3);
    animation: slideDown 0.4s ease;
    text-align: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* BOTONES MODAL */
.btn-primary {
    background-color: #007BFF;
    color: white;
    width: 100%;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-cancel {
    background-color: #dc3545;
    color: white;
    width: 100%;
}

.btn-cancel:hover {
    background-color: #c82333;
}
/* Toast Notification */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    color: white;
    border-radius: 8px;
    font-size: 14px;
    z-index: 9999;
    opacity: 0.9;
    animation: slideIn 0.5s ease, fadeOut 0.5s ease 2.5s forwards;
}

.toast-success {
    background-color: #28a745;
}

.toast-error {
    background-color: #dc3545;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}
