/* Formularios de autenticación */
.auth-modal form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.auth-modal input {
    background: #1a1a2e;
    border: 1px solid #3282b8;
    color: #eee;
    padding: 12px;
    border-radius: 5px;
    font-size: 16px;
}

.auth-modal input:focus {
    outline: none;
    border-color: #ffd93d;
    box-shadow: 0 0 5px rgba(255, 217, 61, 0.3);
}

.auth-modal button[type="submit"] {
    background: #3282b8;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
}

.auth-modal button[type="submit"]:hover {
    background: #0f4c75;
}

.auth-link {
    text-align: center;
    margin-top: 15px;
    color: #ccc;
}

.auth-link a {
    color: #3282b8;
    text-decoration: none;
}

.auth-link a:hover {
    color: #ffd93d;
}

.referral-info {
    background: rgba(255, 217, 61, 0.1);
    border: 1px solid #ffd93d;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
    color: #ffd93d;
}

/* Dashboard de referidos */
.level-section {
    background: #0f4c75;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.current-level {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.progress-section h4 {
    margin-bottom: 10px;
    color: #3282b8;
}

.progress-bar {
    background: #1a1a2e;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    background: linear-gradient(90deg, #3282b8, #ffd93d);
    height: 100%;
    transition: width 0.3s ease;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stat-card {
    background: #0f4c75;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.stat-card h3 {
    color: #3282b8;
    font-size: 2em;
    margin-bottom: 5px;
}

.stat-card p {
    color: #ccc;
    font-size: 0.9em;
}

.referral-link-section {
    background: #0f4c75;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.link-container {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.link-container input {
    flex: 1;
    background: #1a1a2e;
    border: 1px solid #3282b8;
    color: #eee;
    padding: 10px;
    border-radius: 5px;
}

.btn-copy {
    background: #ffd93d;
    color: #000;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.sharing-buttons {
    display: flex;
    gap: 10px;
}

.btn-share {
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
}

.btn-share.twitter { background: #1da1f2; color: white; }
.btn-share.facebook { background: #4267b2; color: white; }
.btn-share.linkedin { background: #2867b2; color: white; }
