﻿.amigos-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    color: #333;
}

.welcome-section {
    background-color: #f8f9fa;
    padding: 20px;
    padding-top: 5%;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

    .welcome-section h2 {
        color: #2c5282;
        margin-bottom: 10px;
        font-size: 24px;
    }

    .welcome-section p {
        margin-bottom: 15px;
        font-size: 16px;
    }

.status-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.status-badge {
    background-color: #e2e8f0;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: bold;
}

/* Sección de compartir */
.share-section {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-top: 0px;
}

.share-number {
    width: 50px;
    height: 50px;
    background-color: #e53e3e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.share-section h4 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: normal;
}

.link-box {
    border: 1px solid #cbd5e0;
    padding: 12px;
    border-radius: 20px;
    background-color: white;
    margin: 0 auto 20px;
    max-width: 600px;
    text-align: left;
    position: relative;
    display: flex;
    align-items: center;
}

.share-button {
    background-color: #3182ce;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

    .share-button:hover {
        background-color: #2c5282;
    }

.referrals-section {
    text-align: center;
    position: relative;
    padding-top: 2px;
}

.referrals-number {
    width: 50px;
    height: 50px;
    background-color: #3182ce;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.referrals-section h4 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: normal;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.referrals-list {
    border-radius: 8px;
    padding: 15px;
    max-width: 100%;
}

    .referrals-list table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 10px;
    }

    .referrals-list th {
        background-color: #fff9e6;
        padding: 12px 15px;
        font-size: 17px;
        text-align: center;
        font-weight: bold;
        border-bottom: 1px solid #e2e8f0;
    }

    .referrals-list td {
        padding: 12px 15px;
        border-bottom: 1px solid #e2e8f0;
    }

    .referrals-list tr:nth-child(odd) {
        background-color: #f1f1f1;
    }

    .referrals-list tr:nth-child(even) {
        background-color: #ffffff;
    }

.check-icon {
    color: #3182ce;
    font-size: 18px;
}

.text-muted {
    color: #718096;
    font-style: italic;
}

.connector-arrow {
    width: 40px;
    height: 40px;
    margin: -20px auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #3182ce;
    font-size: 30px;
}

.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    width: 100%;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3182ce;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader-container p {
    color: #718096;
    font-size: 16px;
}

@media (max-width: 768px) {
    .link-box {
        max-width: 100%;
    }

    .referrals-list {
        padding: 10px;
        overflow-x: auto;
    }

        .referrals-list th,
        .referrals-list td {
            padding: 8px;
            font-size: 14px;
        }

    .spinner {
        width: 40px;
        height: 40px;
        border-width: 4px;
    }
}
