/* General Styles */

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

header h1 {
    font-size: 24px;
    margin-bottom: 5px;
}

header p {
    font-size: 16px;
    color: #333333;
}

header .gold {
    color: #ffc107;
    font-weight: bold;
}

.info-box {
    padding: 20px;
    background-color: #eef4fc;
    border-radius: 8px;
    margin-bottom: 20px;
}

.details .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid #dddddd;
}

.details .row:last-child {
    border-bottom: none;
}

.details button {
    background-color: #007bff;
    color: #ffffff;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.details button:hover {
    background-color: #0056b3;
}

.user-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.user-info .edit-btn {
    background-color: #007bff;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.buttons button {
    flex: 1;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #007bff;
    background-color: #ffffff;
    color: #007bff;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
}

.buttons button:hover {
    background-color: #007bff;
    color: #ffffff;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    header h1 {
        font-size: 20px;
    }

    .user-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .info-box .details .row {
        flex-direction: column;
        align-items: flex-start;
    }

    .details .row span {
        margin-bottom: 5px;
    }

    .buttons button {
        flex: none;
        width: 100%;
    }
}
