/* Mobile Styles */
@media screen and (max-width: 600px) {
    body {
        margin: 0 !important;
        padding: 0 !important;
    }

    .match-wrapper {
        padding: 10px 0 !important;
    }

    .match-container {
        padding: 12px;
        margin: 8px 2px;
        font-size: 15px;
        border: 1px solid #bfa786;
    }

    .match-container table {
        font-size: 14px;
        border-collapse: collapse;
        width: 100%;
        table-layout: fixed;
    }

    .match-container td {
        padding: 8px 6px;
        font-size: 14px;
        border: 1px solid #e0e0e0;
        vertical-align: top;
    }

    .match-container td:first-child {
        background-color: #f9f1e6 !important;
        border-right: 1px solid #ccc !important;
        font-weight: bold;
        color: #5D0706;
        width: 45%;
    }

    h1, h2 {
        font-size: 18px !important;
        margin: 10px 0;
        text-align: center;
    }

    .whatsapp-button {
        font-size: 14px;
        padding: 4px;
        display: block;
        width: 80%;
        text-align: center;
        margin: 10px auto 0 auto;
    }

    .profile-picture-link,
    .audio-button {
        font-size: 12px;
        padding: 6px 10px;
        display: inline-block;
        margin-top: 8px;
    }
}

/* Desktop + General Styles */
.match-container {
    background-color: #fff;
    border: 2px solid #bfa786;
    border-radius: 10px;
    margin: 15px 10px;
    padding: 15px;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.match-container table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.match-container td {
    padding: 10px 8px;
    font-size: 16px;
    color: #1F1103;
    vertical-align: top;
    border-bottom: 1px solid #e0e0e0;
}

.match-container td:first-child {
    background-color: #f9f1e6;
    font-weight: bold;
    color: #5D0706;
    width: 40%;
    border-right: 1px solid #ddd;
}

.match-container a.whatsapp-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 16px;
    background-color: #25D366;
    color: white;
    font-size: 14px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}

.match-container a.whatsapp-button:hover {
    background-color: #1da851;
}

.match-container .profile-picture-link {
    display: inline-block;
    padding: 6px 10px;
    background: #5D0706;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
}

.audio-button {
    display: inline-block;
    padding: 6px 12px;
    background-color: #1F1103;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    transition: background 0.2s ease;
}

.audio-button:hover {
    background-color: #5D0706;
}

/* Desktop-specific adjustments */
@media screen and (min-width: 768px) {
    .match-container {
        padding: 20px;
        margin: 20px auto;
        max-width: 700px;
    }

    .match-container td {
        font-size: 16px;
    }

    .match-container a.whatsapp-button {
        font-size: 16px;
        padding: 12px 20px;
    }
}
